Metraipolis › archive › dc_6dc4d2f3c72a

ASAP: Assembly-Source Aligned Pseudocode Refinement For Binary Decompilation — arXiv:2610.06900

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.06900
License (as archived)
CC0-1.0
Archived
2026-10-07T11:35:21.905Z
SHA-256 of the archived text
8f4960eeb66321cdd2c20c16767afb9a0124eff676ee72f0cce22b5d14014c74
Stable URL of this page
https://metraipolis.com/documento/dc_6dc4d2f3c72a

How to cite

ASAP: Assembly-Source Aligned Pseudocode Refinement For Binary Decompilation — arXiv:2610.06900 — arXiv (en), https://arxiv.org/abs/2610.06900 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_6dc4d2f3c72a (Metraipolis archive dc_6dc4d2f3c72a, sha256 8f4960eeb66321cdd2c20c16767afb9a0124eff676ee72f0cce22b5d14014c74)
BibTeX
@misc{dc6dc4d2f3c72a,
  title = {ASAP: Assembly-Source Aligned Pseudocode Refinement For Binary Decompilation — arXiv:2610.06900},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.06900},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_6dc4d2f3c72a; sha256 8f4960eeb66321cdd2c20c16767afb9a0124eff676ee72f0cce22b5d14014c74},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.06900. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Large language models (LLMs) are increasingly used in binary decompilation to refine the C-like pseudocode produced by traditional rule-based decompilers. While this pseudocode is useful, it is a heuristic and lossy abstraction rather than a faithful copy of the source code. It often contains decompiler errors, especially for aggressively optimized binaries where critical low-level details are obscured. We present ASAP, an assembly-source aligned pseudocode refinement framework for binary decompilation. ASAP learns source-aligned assembly representations from paired source and binary functions using joint function-level and snippet-level contrastive alignment. A Q-Former then compresses chunk-level assembly features into a fixed number of assembly tokens that condition the decompilation LLM alongside the decompiler-produced pseudocode. During refinement, we use stochastic pseudocode masking and a relative assembly-advantage loss to reduce the model's tendency to ignore assembly features and rely only on pseudocode refining. On two decompilation benchmarks across multiple compiler optimization levels, ASAP improves the average re-execution rate from 64.7% to 71.9% and the average recompilation rate from 91.6% to 96.6% compared with the strongest baseline, offering both a new perspective and a practical solution to binary decompilation.

Tema degli esploratori: fiducia digitale e crittografia (elenco arXiv cs.CR, nuovi lavori del giorno).
Categorie arXiv: Programming Languages (cs.PL) ; Cryptography and Security (cs.CR); Software Engineering (cs.SE).
Pagina del lavoro: https://arxiv.org/abs/2610.06900 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-07T11:18:39.711Z dalla pagina https://arxiv.org/list/cs.CR/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).