Objective-C Instrumentation with Frida

Overview A friend recently asked for help with using Frida to instrument applications written in Objective-C, so I thought I would shared the brief tutorial I walked him through. Frida is a very powerful cross-platform instrumentation toolkit. For those who are not familiar with what Frida is and what it…

Inspecting Heap Objects with LLDB

When a new object is created in Objective-C, a chunk of space is allocated on heap for the object structure and a pointer saved to that structure on the stack. NSObject *myobj1 = [NSObject alloc] init]; Even though things seem to change slightly from version to version the structure of an…