Skip to content
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

If hooking in __DATA_CONST, make writable before trying to write #65

Merged
merged 1 commit into from
Aug 20, 2019

Conversation

swolchok
Copy link
Contributor

@swolchok swolchok commented Aug 20, 2019

iOS 13 seems to have thrown us off. Apparently, __DATA_CONST is set read-only after dyld runs.

Fixes #61

iOS 13 seems to have thrown us off. Apparently, __DATA_CONST is set read-only after dyld runs.
@megCanicalKb megCanicalKb merged commit b337892 into facebook:master Aug 20, 2019
megCanicalKb pushed a commit to facebook/FBRetainCycleDetector that referenced this pull request Aug 20, 2019
see facebook/fishhook#65

---

Title: facebook/fishhook#65
Summary: iOS 13 seems to have thrown us off. Apparently, __DATA_CONST is set read-only after dyld runs.
@daybreak1024
Copy link

I try this plan, on iOS 13 XR it is work. but on iOS 12 6s ,iOS13 6s it is will crash.

crash

I want to know if I only met?

@amonshiz
Copy link

@daybreak1024 this should be fixed with #66. if you could also test there that would be helpful.

@daybreak1024
Copy link

@amonshiz I test new code from #66 , crash was fixed. And I found that it was not merged into the fishHook project.

@yuanzhangjing
Copy link

I think use vm_read_overwrite is safer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

fishhook crash on iOS 13.0 beta
6 participants