Home

RetDec

RetDec (Retargetable Decompiler) is an open-source framework for binary analysis and decompilation. It aims to automatically translate machine code back into a high-level representation, typically C-like code, to aid reverse engineering and vulnerability research. The project was originally developed by Avast Software and is now maintained by the RetDec project and an active community of contributors.

RetDec is designed to be retargetable and supports multiple architectures and file formats. It can analyze

RetDec is distributed as an open-source project with the source code available on GitHub and organized under

x86,
x86-64,
ARM,
ARM64,
MIPS,
PowerPC,
and
AVR
binaries,
and
works
with
common
formats
such
as
ELF,
PE,
and
Mach-O,
as
well
as
firmware
images
and
object
files.
The
decompiler
is
composed
of
modules
for
disassembly,
control-flow
reconstruction,
data-flow
analysis,
and
decompilation
to
a
C-like
intermediate
representation,
from
which
readable
source
code
is
produced.
In
addition
to
decompilation,
RetDec
provides
disassembly
and
an
exploration
interface
for
examining
generated
code,
annotations,
and
relationships
to
the
original
binary.
It
can
be
used
via
a
command-line
tool,
a
web
service,
or
integrated
into
other
analysis
pipelines
through
an
API.
the
RetDec
project
website
at
retdec.org.
It
is
used
by
researchers,
security
analysts,
and
educators
for
malware
analysis,
firmware
analysis,
and
reverse-engineering
tasks.
The
project
emphasizes
automation
and
reproducibility,
offering
documentation,
tutorials,
and
an
active
community
to
contribute
improvements
and
new
architectures.