Harnessing LLMs for Document-Guided Fuzzing of Python Libraries
- Source
- Bin Duan, Tarek Mahmud, Meiru Che, Yan Yan, Naipeng Dong, Dan Dongseong Kim, Guowei Yang
- Author
- Bin Duan, Tarek Mahmud, Meiru Che, Yan Yan, Naipeng Dong, Dan Dongseong Kim, Guowei Yang
- Date

Shows a local model reading docs well enough to drive fuzzing at scale, and quantifies how much of an API surface has cross-parameter constraints that naive generators break on.
“Testing their APIs requires inputs that satisfy both per-parameter constraints and dependencies among parameters. Existing approaches either leave such constraints implicit in generated programs or rely on library-specific parsing rules.”
Bin Duan, Tarek Mahmud, Meiru Che, Yan Yan, Naipeng Dong, Dan Dongseong Kim, Guowei Yang
“This paper introduces VistaFuzz, a document-guided fuzzing technique that uses a locally served open-sourced LLM to extract parameter specifications from API documents and generate inputs that satisfy both parameter constraints and inter-parameter dependencies.”
Bin Duan, Tarek Mahmud, Meiru Che, Yan Yan, Naipeng Dong, Dan Dongseong Kim, Guowei Yang
“We evaluate VistaFuzz on 7,718 APIs across twelve Python libraries. Inter-parameter relationships occur in 40.1\% of tested APIs, and disabling their resolution reduces the valid generation rate on those APIs from above 95\% to 31.6\%--52.8\%.”
Bin Duan, Tarek Mahmud, Meiru Che, Yan Yan, Naipeng Dong, Dan Dongseong Kim, Guowei Yang
“VistaFuzz reports 74 issues, of which 43 have been confirmed by developers and 29 have been fixed.”
Bin Duan, Tarek Mahmud, Meiru Che, Yan Yan, Naipeng Dong, Dan Dongseong Kim, Guowei Yang
articleTesting Deep Learning Library APIs via Cross-Framework Differential FuzzingBin Duan, Ruican Dong, Naipeng Dong, Dan Dongseong Kim, Guowei Yang
articleLLMVul: A Vulnerability-Labeled Dataset of LLM-Generated C/C++ Functions from Real Production RepositoriesMohammad Farhad, Shuvalaxmi Dass
articleCode Health in LLM-Based Test Generation: Effectiveness and Token EfficiencyFreya Wirdemann, Markus Borg, Nadim Hagatulah, Adam Tornhill
Checking sign-in…
Loading comments…