Want to Join Us ?

you'll be able to discuss, share and send private messages.

Python Ida Pro SwiftDemang by Tyler Halfpop

Discussion in 'Plugins' started by storm shadow, Jul 11, 2016.

Share This Page

  1. storm shadow

    Techbliss Owner Admin Ida Pro Expert Developer

    SwiftDemang

    IDA Pro IDAPython Script to Demangle Swift
    HowTo

    1. From IDA run: SwiftDemang_1GetFuncs.py to generate the mangled functions list
    2. From the terminal run: python SwiftDemang_2GenDemang.py file_mangled.txt to generate the demangled functions list.
      • This step requires the swift-demangle binary that is included in XCode. In XCode 7.3.1 it's located in this location, which is where the script points to by default:
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-demangle
    3. From IDA run: SwiftDemang_3RenameFuncs.py to rename the functions
    Example

    [​IMG]
    Credits

    Idea from gsingh93, but I have Windows IDA and I wanted to rename the functions and work with Mac Swift.

    source
    https://github.com/tylerhalfpop/SwiftDemang
     

    Attached Files:

    Rip Cord likes this.
Top