unicorn-engine / unicorn

Unicorn CPU emulator framework (ARM, AArch64, M68K, Mips, Sparc, PowerPC, RiscV, S390x, TriCore, X86)
http://www.unicorn-engine.org
GNU General Public License v2.0
7.34k stars 1.31k forks source link

fix UC_MEM_WRITE_PROT callback #1836

Closed PhilippTakacs closed 1 year ago

PhilippTakacs commented 1 year ago

callbacks work on the physical address.

As far as I see this is the only case I have add this mistake, but would be nice when someone else could double check.

wtdcode commented 1 year ago

Thanks!