BinXSight: Fast Binary Program Summarization via Hierarchical Modular Decomposition
Zhijie Liu, Zhipeng Xue, Zhipeng Gao, Pengfei Jing, Zixiong Qin, Sen Nie, Shi Wu, Liang Feng Zhang,
Key points
From the paper's conclusion- We evaluate BinXSight on stripped binaries across various sizes, fields, platforms, and architectures.
Abstract
Binary code summarization (BCS) is crucial in fields such as cybersecurity. Particularly, program-level BCS can quickly provide a comprehensive overview of an entire stripped binary without in-depth manual reverse engineering. However, a binary often contains numerous functions with complex interactions, making it challenging to extract its functionality efficiently. Moreover, existing methods focus solely on function-level without considering contextual information, limiting their applicability to program-level analysis. Towards comprehensive and fast program-level BCS, we propose BinXSight, an LLM-powered framework based on hierarchical modular decomposition. Specifically, we first propose binary graph, a new data structure composed of four graphs, to comprehensively represent a binary. Then, based on the binary graph, we hierarchically decompose functions into modules and select the most significant ones. Finally, BinXSight generates a program-level summary from these module summaries. We evaluate BinXSight on stripped binaries across various sizes, fields, platforms, and architectures. Results show that BinXSight outperforms baselines by 23.18% to 46.99%, and summarizes a binary with about 3K functions in 24.3 seconds on average. In addition, a user study with 27 experts shows that BinXSight's high-quality summaries help users quickly understand the whole binary. Our case analysis on recent real-world malware further demonstrates its practical utility.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Revisiting Graph Representations for ML-Based Binary Code Similarity Detection: A Systematic StudyProceedings of the ACM on Software Engineering · 2026
- CLASScanner: Efficient C++ Class Recovery from Binaries Driven by Object Flow GraphsProceedings of the ACM on Software Engineering · 2026
- VulDec: Vulnerability Detection in Binaries via Neural DecompilationarXiv · 2026
- TRIAGE-CPG: A Cross-Model Study of Budgeted Static Malware Triage with Large Language ModelsarXiv · 2026
- From Similarity Ranking to Definitive Verdict: LLM-Enhanced Source-to-Binary Function LocalizationProceedings of the ACM on Programming Languages · 2026
- BinRAG: An RAG-Based Decompilation Framework Fusing Name Prediction and Calling ContextProceedings of the ACM on Software Engineering · 2026