Swift Reverse Engineering | Digging into Objects

Overview With absolutely zero experience reverse engineering any Swift binaries, this post will begin my personal exploration and maybe yours as well, into the internals of the Swift language and how to make sense of things down in its disassembled world Swift Objects I created a simple Swift iOS application…

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…