Skip to content
0:00 / 0:00

#class-dump#swift#mach-o

A class-dump in 2019

SF CocoaHeads x Swift Language User Group

1.7K subscribers • 1 video on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Presented by Derek Selander

Advanced. Deep dive for people who know the field.

2.5K views7 years ago2 recommendations

SecurityProgramming languagesSwiftReverse engineeringCompilers and interpreters

Derek Selander explains how to reverse engineer and introspect compiled Swift 5 applications by building a functional class-dump tool.

Care to know how the "bad guys" can introspect your compiled Swift app? This talk will go from bottom to top, discussing all the concepts needed to build a fully functional Swift 5 class-dump. You'll enjoy this rather technical talk if you're a tool maker, or if you just want to know how stuff works. --- This talk was given by Derek Selander at the Swift Language User Group meetup on October 8 2019.

Why it's here

2 people recommend this

What people say. Recommended as an in-depth look at reverse engineering Swift binaries and understanding how Swift classes map to Objective-C.

u/byaruhafiOSin r/swift • Recommends

A class-dump in 2019

u/V8trin r/swift • Recommends

Fun fact: *every* pure Swift class inherits from the Objective-C class `SwiftObject The Swift compiler source code: https://github.com/apple/swift/blob/2fa65ae23a91df513cf315516e5210a006eeb57b/stdlib/public/runtime/SwiftObject.h Inspired by watching link to this video