Hello!
I am trying to modify Qemu to trace the executed BasicBlocks and their
lengths to a file. The host platform is x86_64, quest is arm-softmmu.
Currently I am passing the current TranslationBlock from
gen_intermediate_code_internal() to disas_arm_insn() in
"target-arm/translate.c". The TranslationBlock's pc and size field are
writte to a file in disas_arm_insn().
Unfortunately, "size" is 0 in most cases. Is this correct? Additionally,
I am wondering if "size" represents the TB's size before or after
translation (in ARM or x86 code).
Any help would be greatly appreciated!
Thanks,
Robert