Echo: Learning-based Matching Decompilation using Trusted Back Translation

📅 2026-09-16
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
本文提出Echo系统,通过可信反向翻译解决神经反编译器预测不可信问题,使用迭代搜索和多阶段修正方法提高从二进制代码恢复源代码的准确性。
📝 Abstract
Neural decompilers can recover readable and recompilable source code from binaries, but their predictions remain difficult to trust. Matching decompilation addresses this problem by searching for source code whose recompiled assembly exactly matches the target, providing stronger evidence of correctness. However, exact matching remains challenging for optimized binaries under unknown compilation configurations. We present Echo, a matching decompilation system based on trusted back-translation. Our key insight is to use compilation not only for verification, but also as trusted feedback to guide iterative search. Echo first uses a domain-specific model to generate candidate programs and compilation configurations. It recompiles these candidates, measures assembly-level similarity, and synthesizes promising code-configuration pairs. Remaining mismatches are then progressively repaired using rule-based rewriting, neural refinement, and reasoning-based refinement. We evaluate Echo on function-level benchmarks and the Mirai malware binary. Compared with the strongest baseline, Echo produces 2.43x more exact matches on average and achieves the highest structural similarity to ground-truth source code. On Mirai, Echo matches 2.75x and 7.4x as many functions as GPT-5.6 and Codex, respectively.
Problem

Research questions and friction points this paper is trying to address.

neural decompilers
matching decompilation
optimized binaries
unknown compilation configurations
exact matching
Innovation

Methods, ideas, or system contributions that make the work stand out.

trusted back-translation
iterative search
rule-based rewriting
neural refinement
reasoning-based refinement
🔎 Similar Papers