Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Executing code in AArch32 mode #1070
I'm trying to emulate a binary that has been compiled in AArch32 mode. At first, I was using the ARM architecture instead of the ARM64, but it turns out the binary makes use of the Crypto Extensions (available as A32/T32 and A64 instructions) that have been introduced in ARMv8. They appear to be implemented in QEMU, but only accessible when targeting the right architecture.
Is there any way I could run the emulation w/ the ARM64 architecture, but switch from AArch64 to AArch32 mode? I could not find any way to do it by modifying the system registers.
Thanks for your help!