gsingh93 / ida-swift-demangle

An IDA plugin to demangle Swift function names

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Swift Demangle

This is an IDA script to demangle Swift functions. It currently only works for ELF files. PRs are welcome for supporting other formats. The swift-demangle binary is required, it can be obtained from https://swift.org/download/.

Usage

Load the swift-demangle.py script (Alt-F7), and choose the "Demangle swift functions" menu item in "Edit/Plugins". This will search the PLT for all Swift functions, demangle them, and add an anterior comments to the function calls:

screenshot

TODO

  • Support PE files
  • Demangle global variables
  • swift-demangle supports demangling multiple names at once, we should use this instead of invoking it for each name

About

An IDA plugin to demangle Swift function names


Languages

Language:Python 100.0%