facebook / fishhook

A library that enables dynamically rebinding symbols in Mach-O binaries running on iOS.
BSD 3-Clause "New" or "Revised" License
5.2k stars 968 forks source link

fishhook not support macOS 14.0 #97

Open paradiseduo opened 2 months ago

paradiseduo commented 2 months ago

I used the same hook code works on macOS 13.6 well. But on macOS 14.0, it not work

err = vm_protect (mach_task_self (), (uintptr_t)indirect_symbol_bindings, section->size, 0, VM_PROT_READ | VM_PROT_WRITE | VM_PROT_COPY);

return KERN_PROTECTION_FAILURE