Back to list

fast-decomp

A static x86-64 decompiler in Rust that turns whole programs into readable C-like code — 200–500× faster than Ghidra.

holden.ridley
Author
@holden.ridley
Project ShowcaseDeveloper ToolsOnline
0
0

Project intro

fast-decomp is a static decompiler for x86-64 programs, written in Rust. It turns every function of a PE or ELF executable into C-like pseudocode, so you can read, search and annotate a program you only have as a binary — including whole games.

Its selling point is speed: the 137,813 functions of the Godot editor decompile in 23 seconds on 6 cores, and on the same stripped binaries it runs 201 to 543 times faster than Ghidra 12.2 — Lua in 0.18 seconds instead of 36, SQLite in 0.41 instead of 94, OpenTTD in 6.4 seconds instead of 27 minutes. It picked up 328 stars in its first three days.

It is honest about what it does not know: anything it guesses is marked "likely" in the output, and three annotate commands let you record what you worked out in a project folder next to the binary, so the next run shows your corrections. It takes x86-64 code from MSVC, gcc, clang and mingw, and it is free and open source under the MIT license.

Honest limits: it is experimental, and the pseudocode is a best-effort reading — a guess can be wrong, like the README's own example where a void function is shown returning a value. There is no graphical interface; it is a command-line tool, and you build it from source with Cargo.

Actions

Visit project URL

Tech stack

rust

Project info

Project category
Developer Tools
Project status
Online
Collaboration intent
None

Comments (0)

ME
0/1000
Loading comments...