question about binary translation on qemu
hi
in my academic project i needed to know how qemu exactly translate an arm instruction to the host assembly (in my case x86) so if you can help me to know the function in the source code of qemu that tdo this work thank you
Quoted 4 lines · oussema ben khedher
hi
in my academic project i needed to know how qemu exactly translate an arm instruction to the host assembly (in my case x86) so if you can help me to know the function in the source code of qemu that tdo this work thank you
Hi,
There is a lot of code involved in the whole translation:
The guest instructions are not directly translated to the host assembly but they are first translated in some intermediate OPs (named TCG).
This translation takes place here:
void gen_intermediate_code(CPUARMState *env, TranslationBlock *tb) In target/arm/translate.c
Fred