Skip to content
SPECIFICTION
Get listed

CFR vs RetDec

CFR

benf.org

RetDec

github.com

Side by side

FigureCFRRetDec
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
WindowsYesYes
macOSYesYes
LinuxYesYes
APIYes—
Self-hostedYesYes
Plans published11
Spec score · Reverse Engineering Tools8.2 (#10)7.6 (#33)
Spec score · Decompiler Software8.3 (#5)7.5 (#17)
LicenseThe maker’s FAQ directs users to the project README for its license; the project repository identifies the license as MIT.The project states that it is licensed under the MIT license and also incorporates a modified PeLib library under the zlib/libpng license for its original sources.
OutputThe command-line tool can emit decompiled files to a specified output directory using --outputdir.It reconstructs functions, types, and high-level constructs and outputs C or a Python-like language.

Plans

CFR

  • FreeFree

CFR pricing →

RetDec

  • RetDecFree

RetDec pricing →

In their own words

CFR

CFR is a free Java decompiler that reconstructs Java source from Java class files. It can process individual named classes, classes found on a classpath, or a whole JAR, and the command-line tool can place output in a chosen directory with the --outputdir option. Decompilation behavior can be adjusted through command-line options or an options file. The maker says CFR handles many features from Java 9, 12, and 14, and it can attempt class files from other JVM languages; those are rendered as Java rather than their original language. CFR is written in Java 6 and is said to run wherever Java 6 does. It is available as a downloadable JAR, through Maven, and from GitHub. The FAQ notes an API from version 0.135, and the project repository identifies the license as MIT. CFR handles bytecode rather than native code. Its maker also notes that some inputs fall into edge cases where output may be poor. There are no paid plans or usage limits stated.

Visit benf.org

RetDec

RetDec is a free machine-code decompiler based on LLVM that reconstructs functions, types, and higher-level constructs as C or a Python-like language. It supports ELF, PE, Mach-O, COFF, AR archives, Intel HEX, and raw machine code, plus 32-bit Intel x86, ARM, MIPS, PIC32, and PowerPC, and 64-bit x86-64 and ARM64. Analysis includes static executable inspection, compiler and packer detection, and loading and instruction decoding. RetDec can use DWARF and PDB debugging information, reconstruct C++ class hierarchies from RTTI and vtables, and demangle GCC, MSVC, and Borland symbols. An integrated disassembler can generate call graphs, control-flow graphs, and statistics. It can be downloaded as a pre-built package, built from source, or run in Docker; related repositories provide IDA and Radare2 plugins. The project lists Windows 7 or later, Linux, and macOS, with experimental FreeBSD support. Installation requires about 5 to 6 GB of free disk space. The project says development is very limited, with issue responses potentially delayed up to one quarter.

Visit github.com