NeuDep: Neural Binary Memory Dependence Analysis
Kexin Pei, Dongdong She, Michael Wang, Scott Geng, Zhou Xuan, Yaniv, David, Junfeng Yang, Suman Jana, Baishakhi Ray

TL;DR
NeuDep introduces a neural network approach for binary memory dependence analysis, leveraging self-supervised pretraining and supervised fine-tuning to improve accuracy and efficiency over existing methods.
Contribution
The paper presents NeuDep, a novel machine learning framework with specialized neural architectures for precise and scalable binary memory dependence analysis.
Findings
NeuDep is 1.5x more precise than current state-of-the-art.
NeuDep is 3.5x faster than existing approaches.
NeuDep effectively understands memory access patterns and aids reverse engineering tasks.
Abstract
Determining whether multiple instructions can access the same memory location is a critical task in binary analysis. It is challenging as statically computing precise alias information is undecidable in theory. The problem aggravates at the binary level due to the presence of compiler optimizations and the absence of symbols and types. Existing approaches either produce significant spurious dependencies due to conservative analysis or scale poorly to complex binaries. We present a new machine-learning-based approach to predict memory dependencies by exploiting the model's learned knowledge about how binary programs execute. Our approach features (i) a self-supervised procedure that pretrains a neural net to reason over binary code and its dynamic value flows through memory addresses, followed by (ii) supervised finetuning to infer the memory dependencies statically. To facilitate…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
