Skip to content
This repository has been archived by the owner. It is now read-only.
Binary Ninja plugin to decompile binaries using RetDec API
Branch: master
Clone or download
Latest commit 0b87f09 Jun 26, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore custom retdec API key can be provided by dropping it in a file called… Jan 2, 2017
LICENSE
LICENSE-RetDec
README.md
__init__.py moved RetDecDecompiler into dedicated class Jan 4, 2017
plugin.json Generating Pseudo-code report as HTML using Pygments Jan 3, 2017
retdec.py Add raw_entry_point to retdec_params for decompile_file Feb 19, 2018
utils.py

README.md

Warning

Before installing, be aware that RetDec online API is being discontinued, so the plugin may not work.

RetDec Decompiler (v0.1)

Author: hugsy

Binary Ninja plugin to decompile binaries using RetDec API.

Description:

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.

binja-retdec

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.

Minimum Version

This plugin requires the following minimum version of Binary Ninja:

  • dev - 1.0.dev-576
  • release - 9999

Required Dependencies

The following dependencies are required for this plugin:

  • pip - requests
  • pip - Pygments

Install

Simply run

$ git clone https://github.com/hugsy/binja-retdec ~/.binaryninja/plugins/binja-retdec

And start decompiling with Binary Ninja.

License

This plugin is released under a MIT license.

You can’t perform that action at this time.