mlsanityData to 7 Oct 2026

Ruby: Unmasking Unsafe Rust in Stripped Binaries via Machine Learning

arXiv 2211.00111 ↗First posted 31 Oct 2022cs.CR cs.LG cs.SEcited by 0

Not on the map. Why?

Abstract (arXiv)

Rust, as an emerging system programming language, introduces textttunsafe to allow developers to bypass safety checks during compilation. As a result, memory safety bugs are typically confined to the textttunsafe regions, which have been the primary focus of Rust bug-finding tools. However, such tools rely on the presence of the textttunsafe keyword in Rust source code; there are no tools available that can examine Rust binaries to pinpoint textttunsafe areas. Therefore, we propose textttRuby, the first tool that unmasks textttunsafe regions in Rust binaries using machine learning. By capturing the subtle differences in the binary instructions, textttRuby can identify 91.75% of the total textttunsafe 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 textttRuby 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.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 11 of its 80 references that are in the map. First posted on arXiv 31 Oct 2022.

Builds on

11 of 80 references.

References · 11

  1. 2017Attention Is All You Needcited by 59,932
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  3. 2017Malware Detection by Eating a Whole EXEcited by 114
  4. 2018DeepBugs: A Learning Approach to Name-based Bug Detectioncited by 65
  5. 2019PAC Confidence Sets for Deep Neural Networks via Calibrated Predictioncited by 59
  6. 2021PAC Prediction Sets Under Covariate Shiftcited by 42
  7. 2021How could Neural Networks understand Programs?cited by 26
  8. 2020Is Rust Used Safely by Software Developers?cited by 5
  9. 2021RULF: Rust Library Fuzzing via API Dependency Graph Traversalcited by 5
  10. 2018oo7: Low-overhead Defense against Spectre Attacks via Program Analysiscited by 4
  11. 2021SafeDrop: Detecting Memory Deallocation Bugs of Rust Programs via Static Data-Flow Analysiscited by 3

Built on by

Not cited yet.