How to support iOS27/Xcode27

#99 · open · 0 comments

View on GitHub ↗

johnno1962

Hi maintainers, First up, thanks for making this incredibly useful library available. I use it in a project of mine [InjectionIII](https://github.com/johnno1962/InjectionIII) which allows users to "inject" code changes into a live app in Swift or Objective-C. I've been testing the new Xcode/iOS 27 beta and found I hade to make a change to page align the memory address passed to mprotect() or else you get a EINVALID error and subsequent code fails as it can not write to SEG_DATA_CONST to update the function indirections. The change required very minor and is available here: https://github.com/johnno1962/fishhook/commit/51b4b873fb03072921337fc4b86a45e2fb24556e Thanks again for this code. John

Comments