LLM Agent-Assisted Reverse Engineering with Quantitative Readability Metrics
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Automatic decompilers produce functionally correct but often unreadable C code. This paper addresses one stage of the reverse engineering workflow: improving the readability of decompiled code using LLM agents guided by quantitative metrics. We present a three-phase research evolution. Phase 1 (tool-driven steering via Ghidra MCP) suffered from incomplete coverage and inconsistent improvements due to lack of quantitative guidance. Phase 2 (structural similarity validation alone) revealed that agents optimize for metrics in unintended ways, producing structurally equivalent but less readable code. Our contribution is the Quantitative Readability Score (QRS) framework, a composite metric combining a structural similarity gate with three independent readability sub-metrics (Lexical Surprisal, Structural Simplicity, and Idiomatic Quality). We demonstrate that QRS-guided refinement enables LLM agents to make targeted readability improvements without sacrificing correctness. We provide a discussion of the broader reverse engineering workflow (binary lifting, decompilation cleanup, and achieving functional equivalence) as context, however, it remains out of scope.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 0 of its 17 references that are in the map. First posted on arXiv 5 Jun 2026.
Builds on
0 of 17 references.
No references here yet.
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026CrackMeBench: Binary Reverse Engineering for Agents
- 2026Constraint-Guided Multi-Agent Decompilation for Executable Binary Recovery
- 2026From Dead Code and Static Requirements to Working Engines: Software Revival with Coding Agents
- 2026CODESTRUCT: Code Agents over Structured Action Spaces
- 2026ToolRosella: Translating Code Repositories into Standardized Tools for Scientific Agents
- 2025RepoTransAgent: Multi-Agent LLM Framework for Repository-Aware Code Translation
- 2026Do AI Agents Really Improve Code Readability?
- 2024TransAgent: Enhancing LLM-Based Code Translation via Fine-Grained Execution Alignment