decompiler icon indicating copy to clipboard operation
decompiler copied to clipboard

RetDec plugin for LLDB. RetDec is a retargetable machine-code decompiler based on LLVM.

RetDec lldb plugin

RetDec plugin for LLDB. RetDec is a machine-code decompiler based on LLVM.

PRs Welcome License Follow Twitter

Decompile command output screenshot

Build

Packages should be preferably installed via Homebrew.

brew install make
make

Usage

plugin load build/src/decompiler.dylib

Limitations

Currently only works with lldb built from source. Hopefully this will be fixed in the future.

TODO

  • [x] Decompile functions from target executable
  • [ ] Add caching
  • [ ] Enable spot decoding
  • [ ] Add support for decoding any loaded module
  • [ ] Syntax highlighter

Thanks