You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry for late reply. It's a limitation of QEMU tcg backend. QEMU will inline memory read/writes on aarch64 platform so we have no chance to hook read/write events, which is a known bug I should document elsewhere...
I will add a minimum working example when I get the chance, but I wanted to open the issue before I forgot.
Unicorn v.2.0.1 on Python 3.10.6 (Mac OSX 12.6 M1 Pro)
I'm trying to emulate code for a Cortex-M4 microcontroller and for various reasons I want to hook every memory access.
I'm doing something like the following:
but Unicorn seems to miss some reads that should occur at load instructions.
Here is a log of the behavior I'm seeing:
As you can see, only one of the ldr instructions in that sequence actually triggers the
_hook_mem
callback.Again, I'll get my MWE up as soon as I can, but for now, is this more likely a unicorn bug, or a configuration error?
The text was updated successfully, but these errors were encountered: