decompiler
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.

Build
Packages should be preferably installed via Homebrew.
- macOS >= 10.15
- Full Xcode installation (including command-line tools, see #425 and #433)
- CMake (version >= 3.6)
- Git
- OpenSSL (version >= 1.1.1)
- Python (version >= 3.4)
- autotools (autoconf, automake, and libtool)
- Optional: Doxygen and Graphviz for generating API documentation
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