2026 · Conference paper
FidelityGPT: Correcting Decompilation Distortions with Retrieval Augmented Generation
FidelityGPT post-processes existing decompiler output: an LLM labels lines with six distortion types, such as non-conventional dereferencing, redundant variables and confusing control flow, and then rewrites the labeled lines. Its prompts define the distortion types and add retrieval-augmented context from a manually annotated database of distorted IDA Pro and Ghidra lines. A semantic-intensity algorithm chooses which lines to query, and a variable-dependency analysis carries redundant-variable context across 50-line chunks. On 620 function pairs, the authors report 89% detection accuracy and 83% precision, and correction fix rates of 94% (FR) and 64% (CFR) against 83% and 37% for their DeGPT runs.
Scope and limitations
The 620 pairs are mostly -O0 IDA Pro 7.5 functions sampled from Coreutils, curl, ImageMagick, OpenSSL, PuTTY and SQLite builds in a binary-similarity dataset, across ARM-32, MIPS-32 and x86-32, plus x86-64 TheAlgorithms/C code; separate -O1–-O3 and Ghidra sets test generalization. Ground-truth labels and FR/CFR were assessed manually by the author team against the paper’s criteria. Fix rates count lines marked as fixed and are not semantic-equivalence proofs: the authors note that repaired code often cannot be recompiled or executed. Correction runs on whole functions and may degrade on long ones, and the distortion database, built from 150 IDA Pro and 91 Ghidra lines, may miss rarer anomalies. Main results use GPT-4o at temperature 0.5 and remain stochastic; DeepSeek-chat and temperature-0 runs are reported separately. Training-data exposure of the open-source projects cannot be ruled out.
Why it fits this collection
Adds LLM-based detection and correction of distortions in decompiler output, complementing DeGPT-style refinement and end-to-end LLM decompilation.
Publication and review details
- Venue
- NDSS 2026
- Status
- Conference paper
- Publication / posting date
- 2026 (exact date not verified)
- Date source
- The Internet Society’s Crossref deposit and the official NDSS paper identify publication year 2026. No finer publication date is asserted from the 23–27 February 2026 symposium dates.
- First arXiv submission
- October 22, 2025
- arXiv
- 2510.19615
- Reviewed arXiv version
- v1
- DOI
- 10.14722/ndss.2026.230989
The eight-author order follows the NDSS paper page, the PDF, Crossref and arXiv v1, which carries the same DOI. The PDF footer gives ISBN 979-8-9919276-8-0; Crossref lists no pages. The paper’s reference [31] points to the authors’ repository, reviewed at a 2025-09-07 commit. It has no license file, so no reuse terms are inferred; its datasets contain decompiled functions and source code from third-party projects with their own licenses. The snapshot includes the detection and correction scripts, prompt templates, both distortion databases, seven decompiled-function sets with ground truth and a detection evaluator; the -O1–-O3 and Ghidra evaluation sets were not identified in it. Its README requires manual merging of chunked detection output and states that correction must be evaluated manually using the paper’s Table I. The configuration targets an OpenAI-compatible GPT-4o endpoint at temperature 0 with pinned LangChain 0.1 and Chroma dependencies. No code, API calls or experiments were run.
Sources reviewed
Source review only; experiments were not rerun for this collection. Cite the original authors using the linked paper or BibTeX.
Primary sources
- https://www.ndss-symposium.org/ndss-paper/fidelitygpt-correcting-decompilation-distortions-with-retrieval-augmented-generation/
- https://www.ndss-symposium.org/wp-content/uploads/2026-s989-paper.pdf
- https://api.crossref.org/works/10.14722/ndss.2026.230989
- https://arxiv.org/abs/2510.19615
- README.md GitHub · ZhouZhiping045/FidelityGPT · Revision b464960
- config.ini GitHub · ZhouZhiping045/FidelityGPT · Revision b464960
- requirements.txt GitHub · ZhouZhiping045/FidelityGPT · Revision b464960
- Evaluation/README.md GitHub · ZhouZhiping045/FidelityGPT · Revision b464960
- Dataset GitHub · ZhouZhiping045/FidelityGPT · Revision b464960