XDA: Accurate, Robust Disassembly with Transfer Learning
Not on the map. Why?
Abstract (arXiv)
Accurate and robust disassembly of stripped binaries is challenging. The root of the difficulty is that high-level structures, such as instruction and function boundaries, are absent in stripped binaries and must be recovered based on incomplete information. Current disassembly approaches rely on heuristics or simple pattern matching to approximate the recovery, but these methods are often inaccurate and brittle, especially across different compiler optimizations. We present XDA, a transfer-learning-based disassembly framework that learns different contextual dependencies present in machine code and transfers this knowledge for accurate and robust disassembly. We design a self-supervised learning task motivated by masked Language Modeling to learn interactions among byte sequences in binaries. The outputs from this task are byte embeddings that encode sophisticated contextual dependencies between input binaries' byte tokens, which can then be finetuned for downstream disassembly tasks. We evaluate XDA's performance on two disassembly tasks, recovering function boundaries and assembly instructions, on a collection of 3,121 binaries taken from SPEC CPU2017, SPEC CPU2006, and the BAP corpus. The binaries are compiled by GCC, ICC, and MSVC on x86/x64 Windows and Linux platforms over 4 optimization levels. XDA achieves 99.0% and 99.7% F1 score at recovering function boundaries and instructions, respectively, surpassing the previous state-of-the-art on both tasks. It also maintains speed on par with the fastest ML-based approach and is up to 38x faster than hand-written disassemblers like IDA Pro. We release the code of XDA at https://github.com/CUMLSec/XDA.
Key facts. Cited by 21 papers in the map (data through 7 Oct 2026). First posted on arXiv 2 Oct 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 3; 2023: 3; 2024: 7; 2025: 4; 2026: 3.
21 papers.
Sort:
By area:
- 2025Frontier AI's Impact on the Cybersecurity Landscapecited by 21
- 2024CLAP: Learning Transferable Binary Code Representations with Natural Language Supervisioncited by 17
- 2022Beyond the C: Retargetable Decompilation using Neural Machine Translationcited by 15
- 2022Pop Quiz! Can a Large Language Model Help With Reverse Engineering?cited by 13
- 2023Binary Code Summarization: Benchmarking ChatGPT/GPT-4 and Other Large Language Modelscited by 13
- 2024Assemblage: Automatic Binary Dataset Construction for Machine Learningcited by 12
- 2023Boosting Neural Networks to Decompile Optimized Binariescited by 11
- 2023kTrans: Knowledge-Aware Transformer for Binary Code Embeddingcited by 10
- 2024Source Code Foundation Models are Transferable Binary Analysis Knowledge Basescited by 8
- 2021Callee: Recovering Call Graphs for Binaries with Transfer and Contrastive Learningcited by 4
- 2024TrojFM: Resource-efficient Backdoor Attacks against Very Large Foundation Modelscited by 4
- 2022NeuDep: Neural Binary Memory Dependence Analysiscited by 3
9 more
- 2024VulCatch: Enhancing Binary Vulnerability Detection through CodeT5 Decompilation and KAN Advanced Feature Extractioncited by 2
- 2025Tady: A Neural Disassembler without Structural Constraint Violationscited by 2
- 2026Cybersecurity is the True Frontier for Generative AI Success or Failurecited by 2
- 2024Transfer Learning for Security: Challenges and Future Directionscited by 1
- 2024A Progressive Transformer for Unifying Binary Code Embedding and Knowledge Transfercited by 1
- 2025A Deep Dive into Function Inlining and its Security Implications for ML-based Binary Analysiscited by 1
- 2025On the Role of Pre-trained Embeddings in Binary Code Analysiscited by 0
- 2026SoK: AI-Augmented Binary Reversingcited by 0
- 2026Reveree: Diagnosing LLM Reverse-Engineering Agentscited by 0
- 2026Reveree: Diagnosing LLM Reverse-Engineering Agents1 Sep 2026
- 2026Cybersecurity is the True Frontier for Generative AI Success or Failure27 Jun 2026
- 2026SoK: AI-Augmented Binary Reversing16 Jun 2026
- 2025A Deep Dive into Function Inlining and its Security Implications for ML-based Binary Analysis16 Dec 2025
- 2025Tady: A Neural Disassembler without Structural Constraint Violations16 Jun 2025
- 2025Frontier AI's Impact on the Cybersecurity Landscape7 Apr 2025
- 2025On the Role of Pre-trained Embeddings in Binary Code Analysis12 Feb 2025
- 2024A Progressive Transformer for Unifying Binary Code Embedding and Knowledge Transfer15 Dec 2024
- 2024VulCatch: Enhancing Binary Vulnerability Detection through CodeT5 Decompilation and KAN Advanced Feature Extraction13 Aug 2024
- 2024Source Code Foundation Models are Transferable Binary Analysis Knowledge Bases30 May 2024
- 2024TrojFM: Resource-efficient Backdoor Attacks against Very Large Foundation Models27 May 2024
- 2024Assemblage: Automatic Binary Dataset Construction for Machine Learning7 May 2024
9 more
- 2024Transfer Learning for Security: Challenges and Future Directions1 Mar 2024
- 2024CLAP: Learning Transferable Binary Code Representations with Natural Language Supervision26 Feb 2024
- 2023Binary Code Summarization: Benchmarking ChatGPT/GPT-4 and Other Large Language Models15 Dec 2023
- 2023kTrans: Knowledge-Aware Transformer for Binary Code Embedding24 Aug 2023
- 2023Boosting Neural Networks to Decompile Optimized Binaries3 Jan 2023
- 2022Beyond the C: Retargetable Decompilation using Neural Machine Translation17 Dec 2022
- 2022NeuDep: Neural Binary Memory Dependence Analysis4 Oct 2022
- 2022Pop Quiz! Can a Large Language Model Help With Reverse Engineering?2 Feb 2022
- 2021Callee: Recovering Call Graphs for Binaries with Transfer and Contrastive Learning2 Nov 2021
- 2026Reveree: Diagnosing LLM Reverse-Engineering Agentscited by 0
- 2026Reveree: Diagnosing LLM Reverse-Engineering Agents1 Sep 2026
- 2025Frontier AI's Impact on the Cybersecurity Landscapecited by 21
- 2024CLAP: Learning Transferable Binary Code Representations with Natural Language Supervisioncited by 17
- 2022Beyond the C: Retargetable Decompilation using Neural Machine Translationcited by 15
- 2022Pop Quiz! Can a Large Language Model Help With Reverse Engineering?cited by 13
- 2023Binary Code Summarization: Benchmarking ChatGPT/GPT-4 and Other Large Language Modelscited by 13
- 2024Assemblage: Automatic Binary Dataset Construction for Machine Learningcited by 12
- 2023Boosting Neural Networks to Decompile Optimized Binariescited by 11
- 2023kTrans: Knowledge-Aware Transformer for Binary Code Embeddingcited by 10
- 2024Source Code Foundation Models are Transferable Binary Analysis Knowledge Basescited by 8
- 2021Callee: Recovering Call Graphs for Binaries with Transfer and Contrastive Learningcited by 4
- 2022NeuDep: Neural Binary Memory Dependence Analysiscited by 3
- 2024VulCatch: Enhancing Binary Vulnerability Detection through CodeT5 Decompilation and KAN Advanced Feature Extractioncited by 2
12 most cited of 19 All 19 (JSON)
- 2026Cybersecurity is the True Frontier for Generative AI Success or Failure27 Jun 2026
- 2026SoK: AI-Augmented Binary Reversing16 Jun 2026
- 2025A Deep Dive into Function Inlining and its Security Implications for ML-based Binary Analysis16 Dec 2025
- 2025Tady: A Neural Disassembler without Structural Constraint Violations16 Jun 2025
- 2025Frontier AI's Impact on the Cybersecurity Landscape7 Apr 2025
- 2025On the Role of Pre-trained Embeddings in Binary Code Analysis12 Feb 2025
- 2024A Progressive Transformer for Unifying Binary Code Embedding and Knowledge Transfer15 Dec 2024
- 2024VulCatch: Enhancing Binary Vulnerability Detection through CodeT5 Decompilation and KAN Advanced Feature Extraction13 Aug 2024
- 2024Source Code Foundation Models are Transferable Binary Analysis Knowledge Bases30 May 2024
- 2024Assemblage: Automatic Binary Dataset Construction for Machine Learning7 May 2024
- 2024Transfer Learning for Security: Challenges and Future Directions1 Mar 2024
- 2024CLAP: Learning Transferable Binary Code Representations with Natural Language Supervision26 Feb 2024
12 newest of 19 All 19 (JSON)