Context-Guided Decompilation: A Step Towards Re-executability
Not on the map. Why?
Abstract (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.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 29 of its 62 references that are in the map. First posted on arXiv 3 Nov 2025.
Builds on
29 of 62 references.
References · 29
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,974
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2023StarCoder: may the source be with you!cited by 790
- 2022A Survey on In-context Learningcited by 717
- 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
- 2022InCoder: A Generative Model for Code Infilling and Synthesiscited by 492
17 more
- 2023The Learnability of In-Context Learningcited by 126
- 2024LLM4Decompile: Decompiling Binary Code with Large Language Modelscited by 38
- 2019DIRE: A Neural Approach to Decompiled Identifier Namingcited by 36
- 2023SLaDe: A Portable Small Language Model Decompiler for Optimized Assemblycited by 28
- 2019Towards Neural Decompilationcited by 15
- 2025Decompile-Bench: Million-Scale Binary-Source Function Pairs for Real-World Binary Decompilationcited by 11
- 2023kTrans: Knowledge-Aware Transformer for Binary Code Embeddingcited by 10
- 2024Source Code Foundation Models are Transferable Binary Analysis Knowledge Basescited by 8
- 2025Studying How Configurations Impact Code Generation in LLMs: the Case of ChatGPTcited by 8
- 2025BinMetric: A Comprehensive Binary Analysis Benchmark for Large Language Modelscited by 4
- 2025DecompileBench: A Comprehensive Benchmark for Evaluating Decompilers in Real-World Scenarioscited by 4
- 2023How do Developers Improve Code Readability? An Empirical Study of Pull Requestscited by 3
- 2025Idioms: Neural Decompilation With Joint Code and Type Definition Predictioncited by 3
- 2025ReF Decompile: Relabeling and Function Call Enhanced Decompilecited by 3
- 2024Reassessing Java Code Readability Models with a Human-Centered Approachcited by 2
- 2023Revisiting Deep Learning for Variable Type Recoverycited by 1
- 2023Revisiting Lightweight Compiler Provenance Recovery on ARM Binariescited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.