[Paper Review] SoK: All You Ever Wanted to Know About x86/x64 Binary Disassembly But Were Afraid to Ask
This paper presents a comprehensive systematization of knowledge on x86/x64 binary disassembly by analyzing nine open-source tools using 3,788 binaries. It classifies disassembly strategies into algorithmic and heuristic-based approaches, revealing that while all tools use principled algorithms, they rely heavily on heuristics, leading to trade-offs between code coverage and correctness that define each tool's strengths and weaknesses.
Disassembly of binary code is hard, but necessary for improving the security of binary software. Over the past few decades, research in binary disassembly has produced many tools and frameworks, which have been made available to researchers and security professionals. These tools employ a variety of strategies that grant them different characteristics. The lack of systematization, however, impedes new research in the area and makes selecting the right tool hard, as we do not understand the strengths and weaknesses of existing tools. In this paper, we systematize binary disassembly through the study of nine popular, open-source tools. We couple the manual examination of their code bases with the most comprehensive experimental evaluation (thus far) using 3,788 binaries. Our study yields a comprehensive description and organization of strategies for disassembly, classifying them as either algorithm or else heuristic. Meanwhile, we measure and report the impact of individual algorithms on the results of each tool. We find that while principled algorithms are used by all tools, they still heavily rely on heuristics to increase code coverage. Depending on the heuristics used, different coverage-vs-correctness trade-offs come in play, leading to tools with different strengths and weaknesses. We envision that these findings will help users pick the right tool and assist researchers in improving binary disassembly.
Motivation & Objective
- To address the lack of systematization in binary disassembly research, which hinders tool selection and progress.
- To understand the design and behavioral differences among popular open-source disassemblers.
- To measure the impact of individual algorithms and heuristics on disassembly outcomes across tools.
- To provide a taxonomy of disassembly strategies based on empirical evaluation of nine tools.
- To guide researchers and practitioners in selecting appropriate tools and improving future disassembly techniques.
Proposed method
- The authors performed a manual codebase analysis of nine widely used open-source disassemblers to reverse-engineer their internal strategies.
- They conducted the most comprehensive experimental evaluation to date, analyzing 3,788 binaries across diverse software categories.
- Disassembly results were measured for accuracy and code coverage, with a focus on isolating the contribution of individual algorithms and heuristics.
- The study classified disassembly techniques as either principled algorithms or heuristic-based extensions, based on their design and impact.
- A systematic classification of strategies was developed, distinguishing between algorithmic foundations and heuristic-driven extensions.
- Quantitative metrics were used to assess trade-offs between correctness and coverage, revealing tool-specific behavioral profiles.
Experimental results
Research questions
- RQ1What are the dominant disassembly strategies used in modern open-source tools, and how do they differ?
- RQ2To what extent do disassemblers rely on heuristics versus principled algorithms in practice?
- RQ3How do different heuristic choices affect the trade-off between code coverage and disassembly correctness?
- RQ4What is the measurable impact of individual algorithms on the overall disassembly quality of each tool?
- RQ5How can the design choices of existing tools inform future research and tool development?
Key findings
- All nine tools employ principled algorithms as a foundation, but rely heavily on heuristics to improve code coverage.
- The choice of heuristics significantly influences the coverage-correctness trade-off, leading to distinct behavioral profiles across tools.
- Despite using similar core algorithms, tools exhibit substantial variation in disassembly accuracy and coverage due to heuristic differences.
- The study identifies that heuristic strategies are the primary source of variance in disassembly results, not algorithmic design.
- The experimental evaluation confirms that no single tool achieves both high coverage and high correctness simultaneously, validating the inherent trade-off.
- The findings provide a clear taxonomy and empirical basis for selecting tools based on specific use cases, such as malware analysis or binary hardening.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.