Before installing, be aware that RetDec online API is being discontinued, so the plugin may not work.
Author: hugsy
Binary Ninja plugin to decompile binaries using RetDec API.
This plugin aims to bind together Binary Ninja disassembly with the Retargetable Decompiler (RetDec - https://retdec.com) to decompile binary files, functions, or even byte range into pseudo-C code. This script also improves the result from RetDec by augmenting the pseudo C code with the symbol names found (or created) within the Binary Ninja session.
RetDec does not support yet 64 bit binaries, but can decompile Intel x86, ARM, ARM+Thumb, MIPS, PIC32, PowerPC, on any of the following format: ELF, PE, COFF, AR (archive), Intel HEX.
This plugin requires the following minimum version of Binary Ninja:
- dev - 1.0.dev-576
- release - 9999
The following dependencies are required for this plugin:
- pip - requests
- pip - Pygments
Simply run
$ git clone https://github.com/hugsy/binja-retdec ~/.binaryninja/plugins/binja-retdec
And start decompiling with Binary Ninja.
This plugin is released under a MIT license.