fast-decomp

DimitriFourny

An experimental Rust static decompiler turning x86-64 PE and ELF binaries into annotated C-like pseudocode.

RustCreated

What is DimitriFourny/fast-decomp?

fast-decomp is an experimental static decompiler for x86-64 PE and ELF executables written in Rust. It translates binaries compiled with MSVC, gcc, clang, or mingw into C-like pseudocode, decompiling the 137,813 functions of the Godot 4.3 editor in 22.6 seconds on six cores.

The decompiler marks heuristic guesses as likely, prints unlifted instructions explicitly as unknown effects rather than omitting them, and recovers C++ classes, methods, and vtables from RTTI and binary strings. User or agent annotations—names, signatures, and C types—live in a plain-text project directory alongside a generated AGENTS.md, exposed via serve JSON and MCP modes.

Tested on Linux x86-64, it runs 201 to 543 times faster than headless Ghidra 12.2 on benchmarked binaries. Limitations include x86-64-only support, missing x87, MMX, and AVX-512 instructions, separated C++ exception handlers, and non-recompilable pseudocode under an MIT license.

Before you startThe README says

Runs on
Linux x86-64 (tested); analyses x86-64 PE and ELF binaries
Needs
Rust 1.100 and a C compiler for the demo example
How you get it
Clone and build from source with cargo build --release
Not yet
Experimental; x86-64 only, no x87/MMX/AVX-512, pseudocode does not recompile, C++ exceptions separated

Facts from GitHub (updated Dec 1, 2026) and the project's README. License summaries are simplified: check the license file. RepoRanking reviews listings for relevance and spam, and doesn't test or vouch for code.