Fuzzing: Randomness? Reasoning! Efficient Directed Fuzzing via Large Language Models
Xiaotao Feng, Xiaogang Zhu, Kun Hu, Jincheng Wang, Yingjie Cao, Guang Gong, Jianfeng Pan

TL;DR
This paper introduces RandLuzz, a novel approach that leverages large language models to generate targeted seeds and bug-specific mutators, significantly improving the efficiency of directed fuzzing in bug detection.
Contribution
The paper presents RandLuzz, a method that integrates LLMs into directed fuzzing to reduce randomness in seeds and mutators, enhancing bug exposure speed and efficiency.
Findings
Achieves 2.1× to 4.8× speedup over baseline fuzzers.
Exposes bugs within 60 seconds in some cases.
Outperforms four state-of-the-art directed fuzzers.
Abstract
Fuzzing is highly effective in detecting bugs due to the key contribution of randomness. However, randomness significantly reduces the efficiency of fuzzing, causing it to cost days or weeks to expose bugs. Even though directed fuzzing reduces randomness by guiding fuzzing towards target buggy locations, the dilemma of randomness still challenges directed fuzzers. Two critical components, which are seeds and mutators, contain randomness and are closely tied to the conditions required for triggering bugs. Therefore, to address the challenge of randomness, we propose to use large language models (LLMs) to remove the randomness in seeds and reduce the randomness in mutators. With their strong reasoning and code generation capabilities, LLMs can be used to generate reachable seeds that target pre-determined locations and to construct bug-specific mutators tailored for specific bugs. We…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
