Skip to content

Instantly share code, notes, and snippets.

@Tricertops
Last active November 3, 2016 13:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Tricertops/630fa96044b71d8083b9e397f0b84a1c to your computer and use it in GitHub Desktop.
Save Tricertops/630fa96044b71d8083b9e397f0b84a1c to your computer and use it in GitHub Desktop.
How to load PaintCode Telekinesis.framework from debugger.
# 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