Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Executing code in AArch32 mode #1070

Open
NeatMonster opened this Issue Mar 1, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@NeatMonster
Copy link

NeatMonster commented Mar 1, 2019

Hello there,

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.