<!-- Canonical page: https://reversedwithai.com/p/chisel-iterative-source-recovery -->
Canonical page: https://reversedwithai.com/p/chisel-iterative-source-recovery

# CHISEL: recovering source from Ghidra pseudo-C with an open-weight LLM and fuzzer feedback

> An open model plus a fuzzer rebuilds C from decompiler output.

Kohli and colleagues built CHISEL, a loop that uses compiler feedback and a coverage-guided fuzzer to refine an LLM's recovery of source code from Ghidra pseudo-C.

## Key facts

- Target: Ghidra pseudo-C recovery (ExeBench functions)
- Category: Research and benchmarks
- Platform: x86-64
- Models: Gemma4 31B
- Tools: Ghidra
- Outcome: Research
- Checks: Source available: not reported; Repro steps: not reported; Real hardware: not reported; Verified by others: not reported
- Author: Varun Kohli et al.
- Added: 2026-10-15
- Updated: 2026-10-15
- Sources reviewed: 2026-10-15 (editor)

## What was done

Varun Kohli, N Raghava, Biplab Sikdar and Dinil Mon Divakaran published CHISEL, a framework that iteratively recovers source code from Ghidra-generated pseudo-C without needing test suites. The paper was accepted to ACM CCS SURE 2026.

### How it was done

CHISEL asks an LLM, Gemma4:31b in the paper, to rewrite the pseudo-C. Compiler feedback acts as static analysis, and a coverage-guided fuzzer acts as differential analysis against the original. The framework keeps a memory of past divergences and retains the best candidate. It was tested on 120 ExeBench functions compiled for x86-64 at four optimisation levels, stripped and unstripped.

### Results

The authors report about 96.1% re-compilability and 79.8% re-executability on average, in 2.1 iterations on average. The loop recovers about 26% of first-generation execution errors, and the feedback oracle wrongly accepts about 9.4% of candidates. They say it beats two recent LLM-assisted decompilation approaches. No code link is listed.

## Questions about Ghidra pseudo-C recovery (ExeBench functions)

### What is the Ghidra pseudo-C recovery (ExeBench functions) project?

Kohli and colleagues built CHISEL, a loop that uses compiler feedback and a coverage-guided fuzzer to refine an LLM's recovery of source code from Ghidra pseudo-C. It is listed under Research and benchmarks for x86-64.

### Which AI model was used on Ghidra pseudo-C recovery (ExeBench functions)?

The entry names Gemma4 31B. The tools named alongside are Ghidra.

### Did the AI reverse engineering of Ghidra pseudo-C recovery (ExeBench functions) work?

It is a research result, not a finished tool.

## Sources

- [Write-up](https://arxiv.org/abs/2608.27981)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: Varun Kohli et al. (2026). CHISEL: recovering source from Ghidra pseudo-C with an open-weight LLM and fuzzer feedback. Reversed with AI. https://reversedwithai.com/p/chisel-iterative-source-recovery
