Dsdump
An improved nm + Objective-C & Swift class-dump
Install / Use
/learn @paradiseduo/DsdumpREADME
dsdump
Now you can use resymbol replace this tool.
An improved nm + objc/swift class-dump (writeup)
Based on DerekSelander/dsdump
Because of the original project does not support outputting the results directly to files, So I use Python to output the scan results to files.
Use it like this (If you want to better view the class name of swift, you can use -d option. But -d option will slow down dsdump speed.):
> git clone https://github.com/paradiseduo/dsdump.git
> cd dsdump
> python3 dsdump.py
. .
| | {Version: 2.0}
.-.| .--. .-.| . . .--.--. .,-.
( | `--.( | | | | | | | )
`-'`-`--' `-'`-`--`-' ' `-|`-'
|
'
python3 dsdump.py
-i <inputfile>
-o <outputfile>
-a [ arm64 | armv7 ]
-d
> python3 dsdump.py -i ~/Downloads/Payload/xxx.app/xxx -o ~/Desktop/classes
/Users/x/Desktop/classes/NSObject.h
/Users/x/Desktop/classes/XMIAudioPlayerListProtocol.h
/Users/x/Desktop/classes/UIScrollViewDelegate.h
/Users/x/Desktop/classes/UIPageViewControllerDataSource.h
/Users/x/Desktop/classes/UIPageViewControllerDelegate.h
/Users/x/Desktop/classes/NYTPhotoViewControllerDelegate.h
/Users/x/Desktop/classes/KKListAdapterProtocol.h
/Users/x/Desktop/classes/ZHParallaxHeaderDelegate.h
............
/Users/x/Desktop/classes/xxx.XXSAppConfigInviteModel.swift
/Users/x/Desktop/classes/xxx.XXSNewUserGuideView.swift
/Users/x/Desktop/classes/xxx.XXSLikeUserListCell.swift
>
> cat /Users/x/Desktop/classes/xxxKnowledge.XXSShareWebpageModel.swift
class xxxKnowledge.XXSShareWebpageModel : XXSShareModel {
// Properties
var webpageUrlString : String
// ObjC -> Swift bridged methods
0x1003722bc @objc XXSShareWebpageModel.webpageUrlString <stripped>
0x100372378 @objc XXSShareWebpageModel.setWebpageUrlString: <stripped>
0x1003724f8 @objc XXSShareWebpageModel.init <stripped>
0x1003724e4 @objc XXSShareWebpageModel..cxx_destruct <stripped>
// Swift methods
0x100372324 func <stripped> // getter
0x1003723e0 func <stripped> // setter
0x10037243c func <stripped> // modifyCoroutine
}%
Stargazers over time
Related Skills
node-connect
334.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
82.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
334.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
82.3kCommit, push, and open a PR
