Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Tool:RetDec

From ReverseEngineering.wiki
Tool
Developer Avast Software
License MIT
Website https://github.com/avast/retdec
On this wiki Facts · Code · Notes · Topics

RetDec (MIT, Avast) is an LLVM-based retargetable machine-code decompiler for ELF, PE, Mach-O, COFF and raw code on x86, ARM, MIPS, PIC32, PowerPC, x86-64 and ARM64, now in limited maintenance.

Overview

The README lists formats ELF, PE, Mach-O, COFF, AR, Intel HEX and raw code; 32-bit x86, ARM, MIPS, PIC32, PowerPC; 64-bit x86-64 and ARM64. Features: compiler and packer detection, signature-based removal of statically linked library code, DWARF and PDB use, C++ class hierarchy reconstruction (RTTI, vtables), demangling (GCC, MSVC, Borland), output as C or a Python-like language, call and control-flow graphs.

Status

A warning at the top of the README: limited maintenance mode, pull requests welcomed, issues answered with up to a quarter's delay, only very limited development.

Related

Technique:Choosing a decompiler.

Sources

Code & repositories

  • https://github.com/avast/retdec @ 9450585772e6f1c18e5f0b2ad5518a18d6bce71e · license: MIT (read from LICENSE; GitHub's API was busy)
    RetDec LLVM-based machine-code decompiler
    Tested on: source read, not run: not run; README read · checked 2026-10-18