Skip to content

Instantly share code, notes, and snippets.

@nakiostudio
Created August 13, 2017 10:41
Show Gist options
  • Save nakiostudio/fdb42207a3e8af734fafc46957bd2ac2 to your computer and use it in GitHub Desktop.
Save nakiostudio/fdb42207a3e8af734fafc46957bd2ac2 to your computer and use it in GitHub Desktop.
Using lldb to inject Reveal into a process
lldb attach -p `ps x|grep XING|grep -v grep|awk '{print $1}'`
expr (void*)dlopen("/Applications/Reveal.app/Contents/SharedSupport/iOS-Libraries/libReveal.dylib", 0x2);
expr [(NSNotificationCenter*)[NSNotificationCenter defaultCenter] postNotificationName:@"IBARevealRequestStart" object:nil];
c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment