invalidate x86_64 icache

This commit is contained in:
Nick Chan committed 2026-05-25 01:53:18 +08:00
1 parent 6817bc0162
commit 0c5c108f87
1 file changed
+4
+4
View File
@@ -62,5 +62,9 @@ void setup_hooks_x86_64(void *stream)
patch(t8012_patch_base, t8012_bin, t8012_bin_len);
assert(vm_protect(mach_task_self(), page, 0x1000, false, VM_PROT_READ | VM_PROT_EXECUTE) == 0);
sys_icache_invalidate((void*)page, 0x1000);
dprintf("patched checkra1n\n");
}
#endif