Demangling Swift Symbols for Reverse Engineering
LaurieWired · Nov 7, 2023 · 13:15
In this video, we demangle Swift symbols for reverse engineering an iOS binary. I demonstrate how you can demangle identifiers by hand, via the command line, or even with a custom Ghidra script!
---
Timestamps:
00:00 Intro
01:18 Control Flow Flattening
02:30 Manual Decode
05:06 Automated Decode
08:18 Custom Ghidra Script
09:46 Demangle all the symbols!
10:49 Walking through the code
11:42 Swift vs Objective C
12:16 Recap
---
Links Mentioned in Video:
iOS Reverse Engineering Wiki:
https://github.com/LaurieWired/iOS_Reverse_Engineering
Swift Downloads:
https://www.swift.org/download/
---
laurieWIRED Twitter:
https://twitter.com/lauriewired
laurieWIRED Website:
http://lauriewired.com
laurieWIRED Github:
https://github.com/LaurieWired
laurieWIRED HN:
https://news.ycombinator.com/user?id=lauriewired
laurieWIRED Reddit:
https://www.reddit.com/user/LaurieWired
---
Timestamps:
00:00 Intro
01:18 Control Flow Flattening
02:30 Manual Decode
05:06 Automated Decode
08:18 Custom Ghidra Script
09:46 Demangle all the symbols!
10:49 Walking through the code
11:42 Swift vs Objective C
12:16 Recap
---
Links Mentioned in Video:
iOS Reverse Engineering Wiki:
https://github.com/LaurieWired/iOS_Reverse_Engineering
Swift Downloads:
https://www.swift.org/download/
---
laurieWIRED Twitter:
https://twitter.com/lauriewired
laurieWIRED Website:
http://lauriewired.com
laurieWIRED Github:
https://github.com/LaurieWired
laurieWIRED HN:
https://news.ycombinator.com/user?id=lauriewired
laurieWIRED Reddit:
https://www.reddit.com/user/LaurieWired
download video
download thumbnail
download metadata
download comments (380)
VTT AEN
VTT EN
original youtube
mirrors
video (MultiUp): https://multiup.io/download/9e3cd74ec2231ec4dbe6073e8234ec06/Veda619u1W0.mp4 video (Download.gg): https://download.gg/file-18964422_3076d4729861d6a6 video (FileMirage): https://filemirage.com/file/p0h5acae video (UploadHive): https://uploadhive.com/kfm4fenajye4 video (DailyUploads): https://dailyuploads.net/l90wzbog7twu video (Gofile): https://gofile.io/d/3nBAotvX video (VikingFile): https://vikingfile.com/f/U9GY2GmbZ8 thumbnail (qu.ax): https://qu.ax/bvcYY thumbnail (beeimg): https://beeimg.com/images/a32094663121.jpg thumbnail (img.fish): https://img.fish/yf4vgmn9.jpg thumbnail (pixhost): https://img3.pixhost.to/images/6833/796135693_veda619u1w0.jpg thumbnail (freeimage.host): https://iili.io/nUBxWp1.jpg
Comments (380 saved) click to expand