Home

Awesome

Pseudo C Dump (v1.1)

Author: Asher Davila L.

Binary Ninja plugin to dump the Pseudo C generated by Binja into a folder.

Description:

This Binary Ninja plugin is written in Python 3 and it aims to assist with reverse engineering and vulnerability research. It dumps the Pseudo C representation of a binary, generated by Binja's decompiler, into a specified folder.

Even though Binja has a built-in File -> Export option, it saves the output into a single file and contains extra information such as Segments, Sections, memory addresses, and other information that might not be necessary, depending on the intended use of the generated output.

The motivation for writing this plugin is to extract the Pseudo C representation of a binary in a format that can be easily imported into an IDE, or parsed by static analysis tools like Semgrep.

PCDump-bn plugin is inspired by atxsinn3r's Binja plugin, BinjaHLILDump, which dumps the HLIL, and by 0xdea Ghidra's plugin, which dumps the pseudo-code generated by the Ghidra decompiler.

Minimum Version

This plugin requires the following minimum version of Binary Ninja:

Contributing

Any feedback and any help from external maintainers are appreciated.

License

This plugin is released under an Apache 2.0 License.