---
title: "Practical Source Code Recovery from Binary Functions Using Anchor-Based Retrieval and LLM Reasoning"
url: https://awesomerea.org/papers/paper-practical-source-code-recovery-from-binary/
updated: 2026-11-10
type: paper
---

# Practical Source Code Recovery from Binary Functions Using Anchor-Based Retrieval and LLM Reasoning

> The pipeline extracts anchors from binary functions, retrieves candidate source snippets, and uses an LLM to rank matches. It evaluates instruction coverage on a stripped, optimized tcpdump binary.

- Authors: Charles Edward Gagnon; Steven H. H. Ding; Philippe Charland; Benjamin C. M. Fung
- Venue: arXiv
- Status: Preprint
- Publication / posting date: July 10, 2026
- Date source: First arXiv submission date.
- First arXiv submission: July 10, 2026
- arXiv: 2607.09452
- Read in a terminal: `hf papers read 2607.09452`
- Reviewed arXiv version: v1
- Sources reviewed: 2026-11-09
- Added to the catalog: 2026-11-10
- Original paper: <https://arxiv.org/abs/2607.09452>
- PDF: <https://arxiv.org/pdf/2607.09452>
- BibTeX: <https://awesomerea.org/papers/citations/paper-practical-source-code-recovery-from-binary.bib>
- Catalog page: <https://awesomerea.org/papers/paper-practical-source-code-recovery-from-binary/>
- Record JSON: <https://awesomerea.org/papers/paper-practical-source-code-recovery-from-binary/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/papers/paper-practical-source-code-recovery-from-binary/index.md)

## Scope and limitations

The evaluation covers a stripped, optimized tcpdump binary using a high-fidelity source database and a GitHub-based retrieval database.

## Why it fits this collection

Its main contribution is matching existing binary functions to their source code, a binary function recognition and recovery task.

## Publication and review notes

The date and venue come from the arXiv record.

## BibTeX

```bibtex
@misc{paper-practical-source-code-recovery-from-binary,
  title = {{Practical Source Code Recovery from Binary Functions Using Anchor-Based Retrieval and LLM Reasoning}},
  author = {{Charles Edward Gagnon} and {Steven H. H. Ding} and {Philippe Charland} and {Benjamin C. M. Fung}},
  year = {2026},
  url = {https://arxiv.org/abs/2607.09452},
  howpublished = {arXiv:2607.09452},
  note = {Preprint},
  eprint = {2607.09452},
  archivePrefix = {arXiv},
  month = jul
}
```

## Primary sources

1. <https://arxiv.org/abs/2607.09452>

## About this entry

Reviewed against the paper and its primary sources. Cite the original authors using the linked paper or BibTeX.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
