项目作者: paradiseduo

项目描述 :
An improved nm + Objective-C & Swift class-dump
高级语言: Python
项目地址: git://github.com/paradiseduo/dsdump.git
创建时间: 2020-12-16T08:16:04Z
项目社区:https://github.com/paradiseduo/dsdump

开源协议:

下载


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.
):

  1. > git clone https://github.com/paradiseduo/dsdump.git
  2. > cd dsdump
  3. > python3 dsdump.py
  4. . .
  5. | | {Version: 2.0}
  6. .-.| .--. .-.| . . .--.--. .,-.
  7. ( | `--.( | | | | | | | )
  8. `-'`-`--' `-'`-`--`-' ' `-|`-'
  9. |
  10. '
  11. python3 dsdump.py
  12. -i <inputfile>
  13. -o <outputfile>
  14. -a [ arm64 | armv7 ]
  15. -d
  16. > python3 dsdump.py -i ~/Downloads/Payload/xxx.app/xxx -o ~/Desktop/classes
  17. /Users/x/Desktop/classes/NSObject.h
  18. /Users/x/Desktop/classes/XMIAudioPlayerListProtocol.h
  19. /Users/x/Desktop/classes/UIScrollViewDelegate.h
  20. /Users/x/Desktop/classes/UIPageViewControllerDataSource.h
  21. /Users/x/Desktop/classes/UIPageViewControllerDelegate.h
  22. /Users/x/Desktop/classes/NYTPhotoViewControllerDelegate.h
  23. /Users/x/Desktop/classes/KKListAdapterProtocol.h
  24. /Users/x/Desktop/classes/ZHParallaxHeaderDelegate.h
  25. ............
  26. /Users/x/Desktop/classes/xxx.XXSAppConfigInviteModel.swift
  27. /Users/x/Desktop/classes/xxx.XXSNewUserGuideView.swift
  28. /Users/x/Desktop/classes/xxx.XXSLikeUserListCell.swift
  29. >
  30. > cat /Users/x/Desktop/classes/xxxKnowledge.XXSShareWebpageModel.swift
  31. class xxxKnowledge.XXSShareWebpageModel : XXSShareModel {
  32. // Properties
  33. var webpageUrlString : String
  34. // ObjC -> Swift bridged methods
  35. 0x1003722bc @objc XXSShareWebpageModel.webpageUrlString <stripped>
  36. 0x100372378 @objc XXSShareWebpageModel.setWebpageUrlString: <stripped>
  37. 0x1003724f8 @objc XXSShareWebpageModel.init <stripped>
  38. 0x1003724e4 @objc XXSShareWebpageModel..cxx_destruct <stripped>
  39. // Swift methods
  40. 0x100372324 func <stripped> // getter
  41. 0x1003723e0 func <stripped> // setter
  42. 0x10037243c func <stripped> // modifyCoroutine
  43. }%

Stargazers over time

Stargazers over time