diff --git a/src/libtools/signals.c b/src/libtools/signals.c index eebae4278..2b94c9a74 100644 --- a/src/libtools/signals.c +++ b/src/libtools/signals.c @@ -1955,6 +1955,8 @@ printf_log(LOG_NONE, DumpCPURegs(emu, R_RIP, emu->segs[_CS]==0x23)); void check_exec(x64emu_t* emu, uintptr_t addr) { + if(box64_pagesize!=4096) + return; //disabling the test, 4K pagesize simlation isn't good enough for this while((getProtection(addr)&(PROT_EXEC|PROT_READ))!=(PROT_EXEC|PROT_READ)) { R_RIP = addr; // incase there is a slight difference emit_signal(emu, SIGSEGV, (void*)addr, 0xecec);