Radeco is a radare2-based binary analysis framework with a decompiler, symbolic execution on ESIL, and Rust libraries for custom analysis passes.
Overview
Radeco is a radare2-based decompiler and symbolic executor. It works as a binary analysis framework that combines a Radeco client, a core library for high-level logic, architecture abstraction, ESIL parsing from radare2, and symbolic execution on ESIL through the rune component.
Analysis flows through Radeco's own intermediate representation, which also has a textual form called RadecoIL. Development is ongoing; substantial work remains before the toolkit is ready for general use. Even so, portions of the library are stable enough to author custom analysis passes and embed in other projects.
Rust developers can add Radeco to a project via Cargo.toml and build the tree with cargo, following the included examples. Optional build features enable trace logging for debugging and profiling when gperftools is available.
The stack is tied to the radare2 ecosystem through ESIL and targets reverse engineering style workflows such as decompilation and symbolic execution over lifted machine code.
Key features
- Radare2-based decompiler
- Symbolic execution on ESIL (rune)
- RadecoIL intermediate representation
- Custom Rust analysis passes
- ESIL parsing (esil-rs)
- Architecture abstraction layer
- Optional trace logging build feature
- Optional CPU profiling build feature
Use cases
- Binary decompilation research
- Symbolic execution on lifted binaries
- Custom static analysis passes in Rust
- Embedding analysis logic in other tools
- Working with radare2 ESIL programs