Papers for

legacy software maintainers

Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.

LLMs improve source code recovery from binaries across many architectures

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

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.

Thu 8 OctCryptography and SecuritySoftware Engineering
The gist
Turning low-level computer code back into human-readable programs is important for tasks like finding security problems or fixing old software. This paper studies how large language models (LLMs) can help recover original source code from compiled machine code. The authors organize current methods into a clear framework and test them extensively on many types of computer processors, coding languages, and compiler settings. They also investigate how different design choices affect recovery quality and the ability to translate between programming languages. Their work reveals how reliable current LLMs are for this task and suggests ways to improve them in the future.
Open → 2610.11556v1