fishhook
fishhook copied to clipboard
A library that enables dynamically rebinding symbols in Mach-O binaries running on iOS.
我在xcode14.3 m1pro,得mac上 hook c函数的open使用的最新版本仍然会崩溃,你们遇到了吗? 
This would enable fishhook to be built into Xcode projects using the Swift Package Manager. The changes are relatively modest. I've prototyped them [here](https://github.com/Concoction/fishhook/commit/f4d289e0393b900b4902e6635e1b2c11e78da5eb).
This PR adds a Package.swift to the repo and a symbolic link to fishhook.h from where the Swift Package Manager expects to find include files to the existing file. If...
Reverted arrows colors to make them readable + add gray rounded rectangles under black text
0 perform_rebinding_with_section (fishhook.c:105) 1 perform_rebinding_with_section (fishhook.c:99) 2 rebind_symbols_for_image (fishhook.c:172) 3 _rebind_symbols_for_image (fishhook.c:180)
Compiling an arm64e macOS app on an M1 Mac Mini in macOS 11.6. When a hooked function gets called, the app crashes with EXC_BAD_ACCESS. The following code when compiled as...
I pod install fishhook from github, but an error was reported at building: Undefined symbols for architecture arm64: "_rebind_symbols", referenced from: _main in main.o ld: symbol(s) not found for architecture...
Issue: #80 and #82. fix:`int mprotect(void *address, size_t size, int protect);` function Require address alignment. Before that, I tried to use `vm_protect` function, I found some case that `vm_protect` return...
The `mprotect` function requires the address to be page size aligned. In iOS 14.5 Beta, some addresses of sections of `__DATA_CONST` and `__AUTH_CONST` segments are not aligned to the page...