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.33k stars 1.31k forks source link

Fix: UC_HOOK_MEM_READ only triggered once on Arm64 Host machine. #1935

Open saicao opened 2 months ago

saicao commented 2 months ago

Fix UC_HOOK_MEM_READ only triggered once on Arm64 Host machine. add simple test for that. https://github.com/unicorn-engine/unicorn/issues/1908.

saicao commented 2 months ago

ppc64le host have same problem with mem hook. It fail my unit tests. want to me remove the unit test I added?

wtdcode commented 2 months ago

ppc64le host have same problem with mem hook. It fail my unit tests. want to me remove the unit test I added?

You can disable tests for ppc64 by using defines as I did somethere.