I hereby claim:
- I am jakepetroules on github.
- I am jakepetroules (https://keybase.io/jakepetroules) on keybase.
- I have a public key whose fingerprint is 4E94 7E82 88AF CAFA E8C9 4C37 4E94 8A55 BDD5 A8F2
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#import <dlfcn.h> | |
static off_t lookupPrivateSymbol(const char *path, const char *symbol) | |
{ | |
// TODO: Parse the Mach-O file | |
NSTask *task = [[NSTask alloc] init]; | |
task.launchPath = @"/usr/bin/nm"; | |
task.arguments = @[@"-a", @(path)]; | |
NSPipe *outputPipe = [NSPipe pipe]; | |
task.standardOutput = outputPipe; |
amderror |