Skip to content

0xced/DSYMCreator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DSYMCreator

Symbol restore tool for iOS apps whose debug info are stripped.

With IDA Pro's help, it can create a DSYM/DWARF file. You can import the symbol file to lldb by yourself.

Please Note. If the executable binary is fetched from App Store, it likely is encrypted, you should decrypt the armv7 part first by dumpdecrypted.

Usage (default mode)

  1. Install IDA Pro. The tool needs IDA Pro. So You should install it first. If you don't want to use IDA Pro, see Usage (only-objc mode)

    Demo version is enough! It's free, you can download from here.

  2. Create Symbol File.

$ ./main.py --input /path/to/binary/xxx

Well done! Now your task in only wait (and wait, and wait...). Then a symbol file /path/to/binary/xxx.symbol will be created.

Then you can import it to lldb by yourself. Have fun!

Usage (only-objc mode)

If you don't want to use IDA Pro, you can use this mode. In this mode, you don't install any software, just create symbol file like this.

$ ./main.py --only-objc --input /path/to/binary/xxx

Also, a symbol file /path/to/binary/xxx.symbol will be created.

Please note, since it only dumps objective-c functions, the function count in symbole file is less than the function count in symbol file created in default mode (i.e. IDA Pro mode).


注:

Technical Doc : 高效逆向 - 为任意iOS App生成符号表

About

symbol recreate tool for iOS app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 58.1%
  • C++ 27.9%
  • Python 6.6%
  • Objective-C 5.6%
  • Objective-C++ 1.8%