What is it about?

This paper explores the challenge of automating fuzz driver synthesis for Rust libraries with generic APIs. The problem is essential because Rust prioritizes security and generic APIs are widely employed in Rust libraries. We propose a novel approach and develop a prototype, RuMono, to tackle the problem. Our approach initially infers the API reachability from the generic API dependency graph, discovering the reachable and valid monomorphic APIs within the library. Further, we apply a similarity-based filter to eliminate redundant monomorphic APIs. Experimental results from 29 popular open-source libraries demonstrate that RuMono can achieve promising generic API coverage with a low rate of invalid fuzz drivers. Besides, we have identified 23 previously unknown bugs in these libraries, with 18 related to generic APIs.

Featured Image

Read the Original

This page is a summary of: RuMono: Fuzz Driver Synthesis for Rust Generic APIs, ACM Transactions on Software Engineering and Methodology, December 2024, ACM (Association for Computing Machinery),
DOI: 10.1145/3709359.
You can read the full text:

Read

Contributors

The following have contributed to this page