paper-with-me

홈 › Papers

Context-Guided Decompilation: A Step Towards Re-executability

2025-11-03 · Xiaohan Wang, Yuxin Hu, Kevin Leach arxiv

Binary decompilation plays an important role in software security analysis, reverse engineering, and malware understanding when source code is unavailable. However, existing decompilation techniques often fail to produce source code that can be successfully recompiled and re-executed, particularly for optimized binaries. Recent advances in large language models (LLMs) have enabled neural approaches to decompilation, but the generated code is typically only semantically plausible rather than truly executable, limiting their practical reliability. These shortcomings arise from compiler optimizations and the loss of semantic cues in compiled code, which LLMs struggle to recover without contextual guidance. To address this challenge, we propose ICL4Decomp, a hybrid decompilation framework that leverages in-context learning (ICL) to guide LLMs toward generating re-executable source code. We evaluate our method across multiple datasets, optimization levels, and compilers, demonstrating around 40\% improvement in re-executability over state-of-the-art decompilation methods while maintaining robustness.

📄 PDF Abstract BibTeX arXiv:2511.01763

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Self-Constructed Context Decompilation with Fined-grained Alignment Enhancement

2024-06-25 · Yunlong Feng, Dechuan Teng, Yang Xu, Honglin Mu 외

Decompilation transforms compiled code back into a high-level programming language for analysis when source code is unavailable. Previous work has primarily focused on enhancing decompilation performance by increasing th…

In-Context Learning

Constraint-Guided Multi-Agent Decompilation for Executable Binary Recovery

2026-04-27 · Yifan Zhang, Xiaohan Wang, Yueke Zhang, Yu Huang 외 arxiv

Decompilation -- recovering source code from compiled binaries -- is essential for security analysis, malware reverse engineering, and legacy software maintenance. However, existing decompilers produce code that often fa…

LLM4Decompile: Decompiling Binary Code with Large Language Models

2024-03-08 · Hanzhuo Tan, Qi Luo, Jing Li, Yuqun Zhang

Decompilation aims to convert binary code to high-level source code, but traditional tools like Ghidra often produce results that are difficult to read and execute. Motivated by the advancements in Large Language Models …

HumanEval

CoDe-R: Refining Decompiler Output with LLMs via Rationale Guidance and Adaptive Inference

2026-04-14 · Qiang Zhang, Zhongnian Li arxiv

Binary decompilation is a critical reverse engineering task aimed at reconstructing high-level source code from stripped executables. Although Large Language Models (LLMs) have recently shown promise, they often suffer f…

Beyond the C: Retargetable Decompilation using Neural Machine Translation

2022-12-17 · Iman Hosseini, Brendan Dolan-Gavitt

The problem of reversing the compilation process, decompilation, is an important tool in reverse engineering of computer software. Recently, researchers have proposed using techniques from neural machine translation to a…

C++ codeMachine TranslationTranslation