# ATLAS: A Multi-Agent Framework for Lifting Binary to Canonical Compiler IR

DevFeed: [ATLAS: A Multi-Agent Framework for Lifting Binary to Canonical Compiler IR](<https://devfeed.tech/articles/atlas-a-multi-agent-framework-for-lifting-binary-to-canonical-compiler-ir-96654.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.30877>)

Author: Xiaoao Zhu, Ni Zhang, Jie Ren, Zhiqiang Li, Jie Zheng, Zhanyong Tang, Zheng Wang

Published: 2026-10-23T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [LLVM](<https://devfeed.tech/topics/llvm.md>), [Multi Agent Systems](<https://devfeed.tech/topics/multi-agent-systems.md>), [Cross-Compilation](<https://devfeed.tech/topics/cross-compilation.md>)

Tags: [agent-framework](<https://devfeed.tech/tags/agent-framework.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [arm](<https://devfeed.tech/tags/arm.md>), [atlas](<https://devfeed.tech/tags/atlas.md>), [binaries](<https://devfeed.tech/tags/binaries.md>), [c](<https://devfeed.tech/tags/c.md>), [canonical](<https://devfeed.tech/tags/canonical.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [control](<https://devfeed.tech/tags/control.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [data](<https://devfeed.tech/tags/data.md>), [diagnostics](<https://devfeed.tech/tags/diagnostics.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [flow](<https://devfeed.tech/tags/flow.md>), [generation](<https://devfeed.tech/tags/generation.md>), [humaneval](<https://devfeed.tech/tags/humaneval.md>), [instructions](<https://devfeed.tech/tags/instructions.md>), [intermediate](<https://devfeed.tech/tags/intermediate.md>), [ir](<https://devfeed.tech/tags/ir.md>), [multi-agent](<https://devfeed.tech/tags/multi-agent.md>)

## AI overview

ATLAS reconstructs canonical, pre-optimization LLVM IR from stripped, optimized binaries through structure-aware retrieval and an iterative three-agent repair loop. A Lift agent drafts IR using retrieved exemplars; an Advisor interprets verifier, compiler, and static-check diagnostics to suggest localized fixes; and a Validation agent applies changes and reruns verification and, when available, runtime checks. Iteration ends when the IR is verifier-clean and behaviorally consistent or a budget limit is reached. On HumanEval-Decompile and MBPP across ARM, x86-64, and RISC-V, the authors report 91.8% re-executability and 89.4% CFG similarity, outperforming seven baselines. They also report greater pointer-flow precision and downstream analyzability than Binary-to-C-to-IR pipelines.

## Source excerpt

arXiv:2610.30877v1 Announce Type: new Abstract: Lifting stripped, heavily optimized binaries to a canonical, pre-optimization LLVM intermediate representation (IR) is essential for downstream security analysis and legacy software migration when source code is unavailable. However, aggressive compiler optimizations rewrite control and data flow, remove structural metadata, and introduce type-erased low-level idioms, causing current lifters to produce malformed or semantically divergent IR. We present ATLAS, a multi-agent framework designed to reconstruct formally valid and canonical LLVM IR from optimized disassembly.ATLAS combines (i) Structure-aware, region-level retrieval, which utilizes pseudo-probe attribution to align optimized instructions with canonical IR exemplars, and (ii) a collaborative refinement loop that closes the gap between probabilistic generation and deterministic compiler constraints. Concretely, a Lift agent generates an initial IR draft conditioned on retrieved exemplars, an Advisor agent interprets LLVM verifier/compilation diagnostics and static checks to propose localized repair actions, and a Validation agent applies the edits, re-runs toolchain verification and (when available) runtime checks, and feeds the resulting diagnostics back to the Advisor. The agents iterate until the IR is verifier-clean and behaviorally consistent, or a budget limit is reached. On HumanEval-Decompile and MBPP, ATLAS outperforms seven baselines on lifting LLVM IR, achieving 91.8% re-executability and 89.4% CFG similarity across ARM, x86-64, and RISC-V binaries. Moreover, our evaluation demonstrates that ATLAS also outperforms the Binary to C to IR pipelines in pointer-flow precision and downstream analyzability. By recovering a well-formed, machine-centric representation, ATLAS enables practical cross-ISA recompilation and verifiable binary-only migration workflows.