Coverage-Guided Multi-Agent Harness Generation for Java Library Fuzzing
Nils Loose, Nico Winkel, Kristoffer Hempel, Felix M\"achtle, Julian Hans, Thomas Eisenbarth

TL;DR
This paper introduces an automated, multi-agent system that generates effective fuzzing harnesses for Java libraries, significantly improving coverage and bug discovery while reducing manual effort and costs.
Contribution
We develop a multi-agent architecture utilizing LLMs to automate Java fuzz harness creation, incorporating novel coverage and termination techniques for enhanced effectiveness.
Findings
Median 26% coverage improvement over OSS-Fuzz baselines
Outperforms Jazzer AutoFuzz by 5% in package coverage
Discovered 3 bugs in integrated projects during 12-hour fuzzing campaign
Abstract
Coverage-guided fuzzing has proven effective for software testing, but targeting library code requires specialized fuzz harnesses that translate fuzzer-generated inputs into valid API invocations. Manual harness creation is time-consuming and requires deep understanding of API semantics, initialization sequences, and exception handling contracts. We present a multi-agent architecture that automates fuzz harness generation for Java libraries through specialized LLM-powered agents. Five ReAct agents decompose the workflow into research, synthesis, compilation repair, coverage analysis, and refinement. Rather than preprocessing entire codebases, agents query documentation, source code, and callgraph information on demand through the Model Context Protocol, maintaining focused context while exploring complex dependencies. To enable effective refinement, we introduce method-targeted coverage…
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.
Taxonomy
TopicsSoftware Testing and Debugging Techniques · Software Engineering Research · Software Engineering Techniques and Practices
