-
Notifications
You must be signed in to change notification settings - Fork 204
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
How is the dylib API gonna work? #1
Comments
Is this substitute available on any Cydia Source yet? |
@rweichler As of now it will be working like CydiaSubstrate: Substitute looks for the .dylib and the appropriate .plist in /Library/substitute/DynamicLibraries/ (but unlike CydiaSubstrate it requires a appropriate .plist to exist). |
@shinvou thanks. I made a channel on freenode #substitute if anyone wants to join. |
To catch up with this:
As for bundling into a standalone application, if you want to interpose calls from some system library in your own app only, you can just statically link Substitute; might even be able to sneak into the App Store this way, although it's almost certainly against the rules. If you want to port to other platforms, you can also reuse however much makes sense... maybe contribute your changes back if you're nice (though the LGPL does require releasing the source of modified versions of Substitute itself). |
Thanks for your work, I've been waiting for something like! |
I'm rather late, but to answer that question: direct function hooking requires the ability to change writable pages to executable, because that's pretty near unavoidable (maybe not completely, but the alternative would be a big mess). However, the library also supports dynamic interposing of symbol imports, which does not require WX. Closing this since there doesn't seem to be an actual bug. |
Are you gonna do it similar to dlopening everything in /Library/MobileSubstrate/DynamicLibraries... or something else? You said something about bundling this in a standalone application... how exactly would that work?
Also do you have an IRC chan?
And which iOS device/version are you primarily testing this on?
The text was updated successfully, but these errors were encountered: