EN
ENNA

ILSpy vs RetDec

GitHub Stats

24.9k
Stars
8.5k
3.6k
Forks
985
225
Issues
441
3d ago
Updated
9mo ago
MIT
License
MIT
C#
Language
C++

About ILSpy

ILSpy is the open-source .NET assembly browser and decompiler. It supports decompilation of .NET assemblies to C# with high-quality output, including support for modern C# features like async/await, LINQ, and pattern matching. ILSpy can decompile entire assemblies or individual types and members, with the ability to search across loaded assemblies and navigate type hierarchies. It supports .NET Framework, .NET Core, .NET 5+, and Mono assemblies. Unlike dnSpy, ILSpy focuses purely on decompilation and browsing rather than debugging and editing, making it lighter and more focused. It's available as a standalone Windows application, a VS Code extension, and a command-line tool (ilspycmd) for cross-platform use. ILSpy is actively maintained and is the most widely used open-source .NET decompiler.

About RetDec

RetDec is a retargetable machine-code decompiler based on LLVM, developed by Avast. It converts executable files (PE, ELF, COFF, Mach-O, Intel HEX, and raw binaries) back to high-level C code from x86, ARM, MIPS, PIC32, and PowerPC architectures. RetDec performs compiler and packer detection, static library signature matching, instruction idiom translation, type recovery, and control flow structuring to produce readable decompiled output. Unlike architecture-specific decompilers, RetDec's LLVM-based intermediate representation allows it to support multiple architectures with a single analysis pipeline. It includes both a command-line decompiler and an IDA Pro plugin, and can output C code with recovered variable names, types, and function signatures. RetDec is particularly useful for analyzing firmware, embedded systems, and malware targeting non-x86 architectures.

Platform Support

๐ŸชŸwindows๐Ÿงlinux๐ŸŽmacos
๐Ÿงlinux๐ŸŽmacos๐ŸชŸwindows

Tags

Shared

decompiler

ILSpy only

dotnetassembly-browsercross-platformcsharp

RetDec only

llvmmulti-archarmmipsfirmware