SoK: Are LLMs Reliable at Source Code Recovery? A Taxonomy and Empirical Evaluation

📅 2026-10-08
📈 Citations: 0
✨ Influential: 0
📄 PDF
🤖 AI Summary
This work addresses the fragmentation of methods, inconsistent evaluation standards, and insufficient coverage of embedded architectures in LLM-assisted source code recovery by presenting the first Systematization of Knowledge (SoK) study in this domain. We construct a fine-grained taxonomy and a controlled recovery pipeline, combined with multi-dimensional ablation studies, to conduct a comprehensive empirical evaluation on 45,000 samples spanning multiple architectures, optimization levels, and programming languages. Our findings elucidate the mechanisms through which critical design choices influence recovery performance. This study provides essential guidance for standardized evaluation practices and future research directions in the field.
📝 Abstract
Effective source recovery is critical to security applications such as malware analysis, vulnerability assessment, and legacy maintenance. Large Language Models (LLMs) are reshaping this field, shifting the paradigm away from rule-based heuristics to probabilistic and high fidelity semantic recovery of source code from assembly or classical decompiler-derived pseudo-C. However, despite rapid progress, the field suffers from fragmentation across numerous approaches as well as their non-unified evaluations, limiting objective comparisons. Further, existing works have limited coverage of embedded, IoT architectures and source languages beyond C/C++. In this work, we present the first Systematization of Knowledge (SoK) focused specifically on LLM-assisted binary-to-source recovery. We provide a granular design-centric taxonomy of LLM-assisted source recovery methods and systematic evaluations using seven key metrics along six evaluation dimensions. We evaluate state-of-the-art methods on 45,000 test samples derived from four standard and five embedded architectures, five optimization levels, and symbol stripping. We ablate the impact of design choices on recovery performance, including input representation, contextual enrichment, model scale, iteration and review roles using controlled in-house recovery pipelines and three off-the-shelf models. Finally, we test same-language and cross-language recovery capability covering four mature and two legacy languages. Our systematization and comprehensive evaluations provide key insights that guide future directions in this field.
Problem

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

Source Code Recovery
Large Language Models
Binary-to-Source
Evaluation Benchmark
Embedded Architectures
Innovation

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

Large Language Models
Source Code Recovery
Systematization of Knowledge
Binary-to-Source
Cross-Language Recovery
🔎 Similar Papers
No similar papers found.
💼 Related Jobs
No related jobs found.
Varun Kohli
Varun Kohli
Ph.D. National University of Singapore | Birla Institute of Technology and Science Pilani
Aritificial IntelligenceInternet of ThingsCyber-physical SystemsSecurity
L
Lee Bing Cheng
A*STAR Institute of Advanced Intelligence and Computing, Singapore
N
Nur Hazim Ghazali
National University of Singapore, Singapore
G
Gao Yuze
A*STAR Institute of Advanced Intelligence and Computing, Singapore
D
Daryl Poon
A*STAR Institute of Advanced Intelligence and Computing, Singapore
Dinil Mon Divakaran
Dinil Mon Divakaran
A*STAR Institute for Infocomm Research, National University of Singapore; IEEE Senior Member
AI for SecurityOffensive SecurityPhishingNetwork SecurityApplied AI