University of Cincinnati
RustBound: Function Boundary Detection with Neural Networks on Rust Binaries
Abstract
dc:descriptionFunction boundary detection identifies start addresses and end addresses of functions ina binary. It is a critical step in binary analysis and is considered as a challenging taskover stripped binaries. While existing studies have shown that it is feasible to efficientlyand accurately perform function boundary detection over C stripped binaries, it remainsunknown whether these methods will perform well over Rust stripped binaries. In thispaper, we experimentally evaluate and compare five methods/tools, including two industry reverse engineering tools (Ghidra and IDA Pro), one popular reverse engineering toolsuite (angr), and two neural-network-based methods, in the context of function boundarydetection over Rust binaries. We establish a large-scale dataset consisting of 2,810 Rustbinaries (with over 18.2 million functions) across five optimization levels and two architectures (x86-64 and x86-32) and develop two tools to perform analyses automatically.We derive three major findings based on our experimental results. First, one of the twoneural-network-based methods, named XDA, can achieve promising results (e.g., 94.8%precision and 85.5% recall over x86-64 binaries compiled with O0) and outperform othermethods/tools in detecting function boundaries over Rust binaries, except over binariesfrom Oz optimization. Second, XDA performs very well when trained on multiple optimization levels, on multiple architectures, scoring 93.3% F1 and 89.9% F1 on x86-32 andx86-64 O0 binaries respectively. Third, although Ghidra and IDA Pro can accuratelydetect function starts, they are not effective on precisely distinguishing function endsover Rust binaries.
Degree
thesis:*- Name thesis:degree_name
- MS
- Level thesis:degree_level
- masters
- Discipline thesis:degree_discipline
- Engineering and Applied Science: Computer Science
- Grantor dc:publisher
- University of Cincinnati
- Year dc:date
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Evans, Ryan
- Chair dc:contributor.committeechair
-
- Wang, Boyang
Subjects
dc:subject × 7Rights
dc:rights- Statement dc:rights
-
- unrestricted
- This thesis or dissertation is protected by copyright: all rights reserved. It may not be copied or redistributed beyond the terms of applicable copyright laws.
- Language dc:language
- English
Identifiers
dc:identifier.*- Repository record dc:identifier
- http://rave.ohiolink.edu/etdc/view?acc_num=ucin1778863427110993