Ruby: Unmasking Unsafe Rust in Stripped Binaries via Machine Learning
arXiv:2211.00111
Abstract
Rust, as an emerging system programming language, introduces to allow developers to bypass safety checks during compilation. As a result, memory safety bugs are typically confined to the regions, which have been the primary focus of Rust bug-finding tools. However, such tools rely on the presence of the keyword in Rust source code; there are no tools available that can examine Rust binaries to pinpoint areas. Therefore, we propose , the first tool that unmasks regions in Rust binaries using machine learning. By capturing the subtle differences in the binary instructions, can identify 91.75% of the total regions with a false positive rate of 6.16%, beating SOTA LLM models including GPT-5.2, Claude-4.5 and Gemini-3. We further applied to guide symbolic execution and fuzzing, showing a speed-up of 57.95% and 21.26%, with five bugs confirmed and patched by Google in Android library fuzzing.
Accepted to DSN 2026