-
Notifications
You must be signed in to change notification settings - Fork 965
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS 14.5 crashed #82
Comments
Hook |
have the same problem. I can reproduce the crash with iPhone Xs and OS version 14.5(18E5140j) beta. but iPhone 7 can't reproduce it. |
@cfxiao can you supply detail codes? which func been hooked? |
@leirenbaobao it seems that he hook the dispatch_sync. I'm pretty sure the iOS 14.5 beta at newer phones such as iPhoneXs, has change the memory offset of core library. |
@biosli I tested some funcs. some crashes. what puzzle me is that even offset changed normal dynamic binding still work without hook.maybe it's nothing to do with offset. |
I suppose write to a read-only address. https://stackoverflow.com/questions/19741409/whats-the-difference-between-code-1-and-code-2-in-exc-bad-access |
I found some case that vm_protect return KERN_SUCCESS , but memory don't set VM_PROT_WRITE success. like mprotect method
I commit code that and I found a problem when program set same section protection in multithread(iOS 14.5). |
#84 fix bug |
When will the crash be fixed? I used #84 code and it worked.But it's not merged into the main branch,so can I use it? |
you can use it ! crash reason:
|
iOS15 crash |
Thanks for the fix!! In case anyone else is using fishhook on the Mac, you will need this fix for macOS 12. |
iOS 14.5 crashed when hook GCD.
The text was updated successfully, but these errors were encountered: