UDA: Unified Pretraining for Multiarchitecture Binary Disassembly
The precision of binary disassembly is crucial for understanding program behavior in reverse engineering. However, existing disassembly tools struggle to accurately identify function boundaries when binary files are stripped, especially on reduced instruction set computer (RISC) architectures like ARM and MIPS. Additionally, disassembly tools often lack support for newer versions or less used architectures. In this paper, we propose UDA, a unified pre-training disassembly framework with multi-architecture support. Unified pre-training on both machine code and assembly code allows assembly code to help the semantic learning of machine code, thereby addressing the inherent semantic deficiencies of machine code. By extracting enhanced semantic features from machine code, UDA can not only more accurately identify function boundaries but also recover assembly code without relying on existing disassembly tools. UDA has been rigorously evaluated against both regular and obfuscated binary files. The results show that UDA improves the F1 score for function boundary detection by 0.9%, 7.9%, and 8.1% on x86, ARM, and MIPS architectures, respectively, compared to the state-of-the-art disassemblers. Additionally, it demonstrates strong robustness against unseen obfuscated binaries.
Authors
- Tingyue Yu (ORCID: https://orcid.org/0000-0002-9026-8929)
- Xiangzhan Yu (ORCID: https://orcid.org/0000-0002-1183-2844)
- Xunzhi Jiang (ORCID: https://orcid.org/0000-0001-8624-8557)
- Yuxin Gong (ORCID: https://orcid.org/0000-0003-4692-8931)
- Shen Wang (ORCID: https://orcid.org/0000-0002-5748-5438)
- Li Liu (ORCID: https://orcid.org/0000-0001-5830-8671)
Institutions
- Harbin Institute of Technology (CN)
Publication Details
- Journal
- IEEE Internet of Things Journal
- Published
- 2025-04-18
- DOI
- https://doi.org/10.1109/jiot.2025.3562205
- Primary Topic
- Manufacturing Process and Optimization
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Key Research and Development Program of Heilongjiang
- National Defense Basic Scientific Research Program of China