jmpews / Dobby

a lightweight, multi-platform, multi-architecture hook framework.
Apache License 2.0
3.89k stars 796 forks source link

fix mach_vm_remap failed #209

Closed pilaf-king closed 1 year ago

pilaf-king commented 1 year ago

mach_vm_remap will return no_space error when iOS 14.3+ on A12+.

jmpews commented 1 year ago

unc0ver , odyssey or checkra1n ?

pilaf-king commented 1 year ago

unc0ver , odyssey or checkra1n ?

Not jailbroken device,jsut for debug. I found mach_vm_remap always return KERN_NO_SPACE when dobby hook a framework from the app. But if I hook the main exe or on my lower device (iphone6s iOS 13), dobby hook success. I found frida has fixed it, and it's useful when I add the code. https://github.com/frida/frida-gum/pull/533