Fission

A decompiler CLI built for agents and scripts.

Fission turns ELF, PE and Mach-O binaries into C. Every command speaks a versioned JSON contract, and verify checks the output by running it next to the original machine code.

$brew install fission-systems/tap/fission-cli

Real output of the current CLI on a small x86-64 Linux sample, captured by a script. Nothing is retyped.

What is different

No GUI, on purpose

The command line is the whole product. --contract v1 --json gives one JSON envelope and a typed exit code; fission_cli schema prints its JSON Schema and fission_cli skill a usage guide for agents.

Checked by execution

fission_cli verify interprets the decompiled function and runs the original machine code in Fission's own emulator on the same inputs, then compares return values, calls and stores. It reports Equivalent or Diverged.

Its own Rust pipeline

Machine code is lifted with Ghidra's Sleigh processor specifications, read as data. The IR, type recovery, structuring and C output are Fission's own Rust code. It never runs Ghidra.

For agents

One call in, one JSON document out. Exit codes say what happened without parsing text: 0 ok, 1 failed, 2 usage, 3 input, 4 partial, 5 timeout, 6 environment, 70 internal.

Point an agent at fission_cli skill and it has the usage guide that ships with the binary it is calling, so the guide never drifts from the tool.

# decompile one function as JSON
fission_cli --contract v1 decomp ./hello \
    --name sum_to --json

# check the result by execution
fission_cli verify ./hello --addr 0x10014e0 \
    --tier ground-truth --json

# the contract and error codes
fission_cli schema
fission_cli schema --error-codes

What it reads

FormatsELF, PE, Mach-O, and raw images such as firmware or shellcode with --language and --base.
TestedELF x86-64, x86-32 and ARM32; PE x64 and x86. AArch64 is in the FreshBench corpus. Other architectures that Sleigh describes are best-effort.
Also in the CLIDisassembly, cross-references, call graphs, patching, scripting, an emulator sandbox and a debugger.
Runs onLinux x86-64 and arm64, macOS Apple silicon and Intel, Windows x64, Android arm64 (Termux).
LicenseApache-2.0. Every release asset has a SHA-256 and signed build provenance.

How it is measured

Output quality is measured on FreshBench, a corpus of C projects that no decompiler was tuned on. Correctness is measured separately, by execution, never by similarity to another decompiler.

Help wanted

  • A binary and an address where the output is wrong or hard to read is the most useful issue.
  • Questions and ideas go to Discussions.
  • Contributions start at CONTRIBUTING.md.