DecompilerAI

Neural C Decompiler

Upload a binary executable file, get readable, compilable and functional equivalent C code. No setup, just results.

Compilable Output0.74 compilation rate on HumanEval
Functional Equivalence0.57 pass rate on HumanEval
Semantic ClarityHigh readability achieved by high similarity metrics
Workflow FriendlyChat with an reverse engineer AI specialist
Recovered from x86_64 ELF
// Decompiled with DecompilerAI
#include <stdio.h>

int findMSBPosition(int a) {
    int i, k = 0;
    if (a == 0)
        return -1;
    for (i = 0; i < 32; i++) {
        if ((a >> i) & 1) { k = i; }
    }
    return k;
}

int main() {
    int a = 37;
    printf("MSB position of %d: %d\n", a, findMSBPosition(a));
    return 0;
}
Why DecompilerAI

Accuracy, Explainability, Speed

Neural Decompilation

We leverage custom trained AI models to yield explainable high-level C code, currently for non-obfuscated ELF (x86-64, AArch64) and PE (x86-64) programs compiled with GCC or Clang.

LLM-Assisted Decompilation

We leverage various tools like traditional decompilers and LLMs (OpenAI, ...) to yield explainable clean code.

Readability

We target to deliver readable source code. Appropiate function/variable names, types, and comments help users understand the high-level source code in a faster fashion.

Compilability

Unlike traditional decompilers (e.g. Ghidra, IDA Pro HexRays Decompiler, ...) that yield pseudocode, we target to deliver compilable source code. We deliver the source code along instructions to build the program from scratch.

Functional Correctness

We target to deliver source code that is functionally correct. The input and output behaviour of the target and decompiled program should be identical.

Seamless Upload

Drag-and-drop binary executable files and request decompilation right away. ELF, PE, Mach-O and Android APK / XAPK / DEX.

How DecompilerAI works

From binary to C, step by step

  1. The upload page with a binary file being dragged onto the drop zone
    Step 01

    Drag in a binary

  2. The disassembly listing of a function in the inspect tool
    Step 02

    Read the disassembly

  3. A control-flow graph of a function with basic blocks and edges
    Step 03

    Follow the control-flow graph

  4. The call graph showing calls between functions in the binary
    Step 04

    Explore the call graph

  5. Disassembly on the left and the recovered C source on the right
    Step 05

    Decompiled C beside the assembly

  6. Editing a byte in the hex view, with a one patch badge shown
    Step 06

    Patch the binary live

Security services

Vulnerability Research

White-Box Analysis

We search your C code for security vulnerabilities with frontier AI models and differential testing, on our own local systems.

Only What You Hand Over

We never test live or external systems. You sign an authorization that the code is yours or that you may have it analyzed.

Report and Fixes

Findings, proofs of concept, fix advice and tests, delivered PGP-encrypted. Your code is deleted two weeks after delivery.

Supported Platforms & Features

Category Supported
Binary Formats
  • ELF
  • PE / EXE
  • .NET assemblies (classes and IL)
  • Mach-O (browse and disassemble)
  • Android APK / XAPK / DEX
  • Zip archives (a program together with the files it works on)
  • Raw images and firmware (architecture and base address set in the inspector)
Architectures
  • x86-64 and AArch64: neural decompiler, Ghidra and GPT
  • x86, ARM, MIPS, PowerPC, RISC-V: disassembly, Ghidra and GPT
Engines
  • decai, our neural model: ELF x86-64 / AArch64 and PE x86-64 with a symbol table
  • Ghidra: every ELF, PE and DEX, free
  • GPT rewrite: every ELF, PE and DEX
Compilers
  • GCC
  • Clang
FAQ
Is my uploaded program & retrieved code private?

Within our pipeline your program, retrieved decompilation, and any other interaction is processed securely. Nevertheless, for the final step we do forward it to OpenAI's LLM models for code cleaning purposes.

Will we add support for other architectures, file formats and languages in the future?

If there is demand, then for sure!

How did we develop this neural decompiler?

We plan to be more transparent on this matter in near future by explaining in a blog what someone needs to develop one. In the end, we trained a seq2seq model to translate machine code back to high-level source code.

Get started!