Oct 2026· Proceedings of the 41st IEEE/ACM International Conference on Automated Software Engineering· pp. 1715-1727· 0 citations· 59 references
TL;DR
PCodeTrans is presented, a dynamic feedback driven framework that implements a loop of recompilation, validation, and alignment for the recovery of functional source code that paves a practical path toward recovered source that can be recompiled, validated to pass test harnesses, and consumed by source-level security analysis and fuzzing tools.
Abstract
Decompilation remains foundational for binary analysis, yet conventional tools prioritize human readability over compilation success and test-validated runtime consistency. While recent large language model approaches attempt refining decompiled pseudocode, they often introduce semantic hallucinations. Operating statically without dynamic feedback or attempting whole binary repairs lacking scalability, these existing methods struggle to resolve genuine runtime divergences. We present PCodeTrans, a dynamic feedback driven framework that implements a loop of recompilation, validation, and alignment for the recovery of functional source code. Extracting a minimal yet globally consistent context, PCodeTrans employs an in situ substitutable engine. This mechanism injects isolated compiled functions directly into the original binary, natively preserving authentic execution environments. Utilizing trace-level alignment as a diagnostic objective, PCodeTrans leverages breakpoint matched differential tracing, generating precise runtime causal diagnostics that guide the model through iterative refinement resolving behavioral discrepancies. Evaluated across a comprehensive Linux and Windows Benchmark suite including Coreutils, Binutils, PuTTY, and SQLite3, PCodeTrans achieves substantial translation performance refining raw Hex-Rays outputs. Empirical results confirm PCodeTrans achieves 100% function-level compilation success and 99.5% test-validated consistency on unstripped binaries, resolving up to 85.6% of logic errors. Even for stripped executables, the framework maintains over 97% test-validated consistency, narrowing the gap between raw decompilation and functional source code. Surpassing existing baselines, PCodeTrans paves a practical path toward recovered source that can be recompiled, validated to pass test harnesses, and consumed by source-level security analysis and fuzzing tools.
This work presents CHISEL, a test suite-free framework to iteratively recover source code from Ghidra-derived pseudo-C, and systematically evaluates CHISEL for compilation and semantic recovery, feedback oracle soundness, and iteration overhead on 120 ExeBench functions compiled for the x86-64 architecture.
Varun Kohli, N. Raghava, B. Sikdar et al.· 2 citations
ReSource is presented, the first multi-phase LLM framework designed for transformation-agnostic source recovery, which maintains robust semantic identifiability where state-of-the-art baselines severely overfit or degrade, provides a scalable and reliable foundation for downstream security analysis.
Zhi-Ping Zhou, Xiaohong Li, Ruitao Feng et al.· 0 citations
Echo is presented, a matching decompilation system based on trusted back-translation that uses compilation not only for verification, but also as trusted feedback to guide iterative search in exact matching for optimized binaries under unknown compilation configurations.
Jun Bi, Xiang-Xin Fang, A. Chaube et al.· 0 citations
Compiler fuzzing is critical for ensuring the reliability of modern optimizing compilers. However, traditional generators and raw Large Language Model (LLM) outputs often yield syntactically invalid or low-value programs, incurring significant computational overhead. In this paper, we present BanditFuzz, an end-to-end...
Dong-Hui Li, Ying-Ying Li, Jin-Long Xu et al.· Proceedings of the 41st IEEE...· 0 citations
Decompile-Diverge is proposed, a behavioral comparison oracle not relying on fixed or hand-crafted tests: for each function it synthesizes a driver, grows a fuzzing corpus from the reference, and reruns the decompiled code on the same inputs to detect changes in the function's behavior.
Chang Liu, Edward Raff, Kristopher K. Micinski· 3 citations
This study shows that automated semantic recovery is needed to audit build artifacts and map the obscured attack surfaces of modern web deployments, using JS Recon, an automated semantic recovery framework that performs decompiler-like analysis for modern JavaScript bundles.
Shriyans Sudhi, Yin-Xi Liu· Proceedings of the 41st IEEE...· 1 citation
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.