Last active
November 3, 2016 13:37
-
-
Save Tricertops/630fa96044b71d8083b9e397f0b84a1c to your computer and use it in GitHub Desktop.
How to load PaintCode Telekinesis.framework from debugger.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This will load Telekinesis from debugger (don’t forget to use correct path). | |
# You can use this debugger command as breakpoint handler on UIApplicationMain. | |
expr (void *)dlopen("/path/to/Telekinesis.framework/Telekinesis", 0x2) | |
# You can also check for class "TeleHub", to make sure it’s not loaded twice: | |
expr (Class)NSClassFromString(@"TeleHub") == nil ? (void *)dlopen("/path/to/Telekinesis.framework/Telekinesis", 0x2) : ((void*)0) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment