{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,8]],"date-time":"2026-10-08T11:34:55Z","timestamp":1791459295632,"version":"4.3.4"},"reference-count":32,"publisher":"Association for Computing Machinery (ACM)","issue":"6","funder":[{"name":"Key-Area Research and Development Program of Guangdong Province","award":["2018B010115002"],"award-info":[{"award-number":["2018B010115002"]}]},{"name":"Natural Science Foundation of Shanghai Municipality","award":["24ZR1406100"],"award-info":[{"award-number":["24ZR1406100"]}]},{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"crossref","award":["62372304, U21A20452"],"award-info":[{"award-number":["62372304, U21A20452"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Softw. Eng. Methodol."],"published-print":{"date-parts":[[2025,7,31]]},"abstract":"<jats:p>Fuzzing is a popular technique for detecting bugs, which can be extended to libraries by constructing executables that call library APIs, known as fuzz drivers. Automated fuzz driver synthesis has been an important research topic in recent years since it can facilitate the library fuzzing process. Nevertheless, existing approaches generally ignore generic APIs or simply treat them as non-generic APIs. As a result, they cannot generate effective fuzz drivers for generic APIs.<\/jats:p>\n          <jats:p>This article 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.<\/jats:p>","DOI":"10.1145\/3709359","type":"journal-article","created":{"date-parts":[[2024,12,23]],"date-time":"2024-12-23T14:48:06Z","timestamp":1734965286000},"page":"1-28","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":10,"title":["RuMono: Fuzz Driver Synthesis for Rust Generic APIs"],"prefix":"10.1145","volume":"34","author":[{"ORCID":"https:\/\/orcid.org\/0009-0009-4106-8849","authenticated-orcid":false,"given":"Yehong","family":"Zhang","sequence":"first","affiliation":[{"name":"School of Computer Science, Fudan University, Shanghai, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7090-8653","authenticated-orcid":false,"given":"Jun","family":"Wu","sequence":"additional","affiliation":[{"name":"School of Computer Science, Fudan University, Shanghai, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-2465-8627","authenticated-orcid":false,"given":"Hui","family":"Xu","sequence":"additional","affiliation":[{"name":"School of Computer Science, Fudan University, Shanghai, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2025,7]]},"reference":[{"key":"e_1_3_2_2_2","unstructured":"Rust Fuzzing Authority. 2023. afl.rs. Retrieved December 16 2023 from https:\/\/github.com\/rust-fuzz\/afl.rs"},{"key":"e_1_3_2_3_2","unstructured":"Rust Fuzzing Authority. 2023. Trophy Case. Retrieved December 16 2023 from https:\/\/github.com\/rust-fuzz\/trophy-case"},{"key":"e_1_3_2_4_2","first-page":"975","volume-title":"Proceedings of the ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC\/SIGSOFT FSE \u201919)ACM","author":"Babic Domagoj","year":"2019","unstructured":"Domagoj Babic, Stefan Bucur, Yaohui Chen, Franjo Ivancic, Tim King, Markus Kusano, Caroline Lemieux, L\u00e1szl\u00f3 Szekeres, and Wei Wang. 2019. FUDGE: Fuzz driver generation at scale. In Proceedings of the ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC\/SIGSOFT FSE \u201919). ACM, 975\u2013985."},{"key":"e_1_3_2_5_2","doi-asserted-by":"publisher","DOI":"10.1145\/3477132.3483570"},{"key":"e_1_3_2_6_2","doi-asserted-by":"publisher","DOI":"10.1145\/3576915.3616610"},{"key":"e_1_3_2_7_2","volume-title":"Proceedings of the 14th USENIX Workshop on Offensive Technologies (WOOT \u201920)","author":"Fioraldi Andrea","year":"2020","unstructured":"Andrea Fioraldi, Dominik Maier, Heiko Ei\u00dffeldt, and Marc Heuse. 2020. AFL \\(++\\) : Combining incremental steps of fuzzing research. In Proceedings of the 14th USENIX Workshop on Offensive Technologies (WOOT \u201920). USENIX Association, USA, 10."},{"key":"e_1_3_2_8_2","volume-title":"Computers and Intractability: A Guide to the Theory of NP-Completeness","author":"Garey M. R.","year":"1979","unstructured":"M. R. Garey and David S. Johnson. 1979. Computers and Intractability: A Guide to the Theory of NP-Completeness. W. H. Freeman."},{"key":"e_1_3_2_9_2","unstructured":"Google. 2020. Honggfuzz. Retrieved December 22 2020 from https:\/\/github.com\/google\/honggfuzz"},{"key":"e_1_3_2_10_2","doi-asserted-by":"publisher","DOI":"10.1145\/3510003.3510228"},{"key":"e_1_3_2_11_2","doi-asserted-by":"publisher","DOI":"10.1109\/TrustCom60117.2023.00139"},{"key":"e_1_3_2_12_2","first-page":"2271","volume-title":"Proceedings of the 29th USENIX Security Symposium (USENIX Security \u201920)","author":"Ispoglou Kyriakos K.","year":"2020","unstructured":"Kyriakos K. Ispoglou, Daniel Austin, Vishwath Mohan, and Mathias Payer. 2020. FuzzGen: Automatic fuzzer generation. In Proceedings of the 29th USENIX Security Symposium (USENIX Security \u201920). USENIX Association, 2271\u20132287."},{"key":"e_1_3_2_13_2","doi-asserted-by":"publisher","DOI":"10.1109\/SP46215.2023.10179394"},{"key":"e_1_3_2_14_2","doi-asserted-by":"publisher","DOI":"10.1109\/ASE51524.2021.9678813"},{"key":"e_1_3_2_15_2","unstructured":"Shea Leffler. 2017. Rust\u2019s type system is Turing-complete. Retrieved December 12 2023 from https:\/\/sdleffler.github.io\/RustTypeSystemTuringComplete\/"},{"key":"e_1_3_2_16_2","doi-asserted-by":"publisher","DOI":"10.1145\/3395363.3397348"},{"key":"e_1_3_2_17_2","unstructured":"Zalewski Michal. 2015. American Fuzzy Lop. Retrieved December 22 2020 from https:\/\/lcamtuf.coredump.cx\/afl\/"},{"key":"e_1_3_2_18_2","unstructured":"Rust Official Team. 2023. Associated Items. Retrieved December 16 2023 from https:\/\/doc.rust-lang.org\/reference\/items\/associated-items.html"},{"key":"e_1_3_2_19_2","unstructured":"Rust Official Team. 2023. Generic Parameters. Retrieved December 16 2023 from https:\/\/doc.rust-lang.org\/reference\/items\/generics.html"},{"key":"e_1_3_2_20_2","unstructured":"Rust Official Team. 2023. Re-Exports. Retrieved December 16 2023 from https:\/\/doc.rust-lang.org\/nightly\/rustdoc\/write-documentation\/re-exports.html"},{"key":"e_1_3_2_21_2","unstructured":"Rust Official Team. 2023. Trait and Lifetime Bounds. Retrieved December 16 2023 from https:\/\/doc.rust-lang.org\/reference\/trait-bounds.html"},{"key":"e_1_3_2_22_2","unstructured":"Rust Official Team. 2023. Traits. Retrieved December 16 2023 from https:\/\/doc.rust-lang.org\/reference\/items\/traits.html"},{"key":"e_1_3_2_23_2","unstructured":"Rust Official Team. 2023. What Is Rustdoc? Retrieved December 16 2023 from https:\/\/doc.rust-lang.org\/rustdoc\/what-is-rustdoc.html"},{"key":"e_1_3_2_24_2","unstructured":"Rust Official Team. 2024. Const Generics. Retrieved September 14 2024 from https:\/\/doc.rust-lang.org\/reference\/items\/generics.html#const-generics"},{"key":"e_1_3_2_25_2","unstructured":"Rust Official Team. 2024. Trait Objects. Retrieved September 14 2024 from https:\/\/doc.rust-lang.org\/reference\/types\/trait-object.html"},{"key":"e_1_3_2_26_2","unstructured":"Kostya Serebryany. 2017. OSS-Fuzz - Google\u2019s Continuous Fuzzing Service for Open Source Software. Retrieved from https:\/\/www.usenix.org\/conference\/usenixsecurity17\/technical-sessions\/presentation\/serebryany"},{"key":"e_1_3_2_27_2","doi-asserted-by":"publisher","DOI":"10.1145\/3453483.3454084"},{"key":"e_1_3_2_28_2","unstructured":"LLVM team. 2020. libFuzzer \u2013 A Library for Coverage-Guided Fuzz Testing. Retrieved December 22 2020 from https:\/\/llvm.org\/docs\/LibFuzzer.html"},{"key":"e_1_3_2_29_2","doi-asserted-by":"publisher","DOI":"10.1145\/3597926.3604927"},{"key":"e_1_3_2_30_2","doi-asserted-by":"publisher","DOI":"10.1145\/3597503.3639102"},{"key":"e_1_3_2_31_2","doi-asserted-by":"publisher","DOI":"10.5555\/3620237.3620398"},{"key":"e_1_3_2_32_2","first-page":"2811","volume-title":"Proceedings of the 30th USENIX Security Symposium (USENIX Security \u201921)","author":"Zhang Cen","year":"2021","unstructured":"Cen Zhang, Xingwei Lin, Yuekang Li, Yinxing Xue, Jundong Xie, Hongxu Chen, Xinlei Ying, Jiashui Wang, and Yang Liu. 2021. \\(\\{\\) APICraft \\(\\}\\) : Fuzz driver generation for closed-source \\(\\{\\) SDK \\(\\}\\) libraries. In Proceedings of the 30th USENIX Security Symposium (USENIX Security \u201921), 2811\u20132828."},{"key":"e_1_3_2_33_2","doi-asserted-by":"publisher","DOI":"10.1145\/3512345"}],"container-title":["ACM Transactions on Software Engineering and Methodology"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3709359","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,7,1]],"date-time":"2025-07-01T13:28:57Z","timestamp":1751376537000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3709359"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,7]]},"references-count":32,"journal-issue":{"issue":"6","published-print":{"date-parts":[[2025,7,31]]}},"alternative-id":["10.1145\/3709359"],"URL":"https:\/\/doi.org\/10.1145\/3709359","relation":{},"ISSN":["1049-331X","1557-7392"],"issn-type":[{"value":"1049-331X","type":"print"},{"value":"1557-7392","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,7]]},"assertion":[{"value":"2024-06-30","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2024-11-26","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-07-01","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}