paperbot · PL 论文追踪

全部论文 待读 收藏

Predicate-Guided Synthesis of Input Generators via Gentoo

Gentoo:谓词引导的输入生成器合成
ASE Proceedings of the 41st IEEE/ACM International Conference on Automated Software Engineering2026引用 0 inbox
Vasudev Vikram, Rohan Padhye
crossref: 2026-10-09

AI 速览

一句话:提出 Gentoo,利用 LLM 编码代理迭代合成并精化目标特定输入生成器,显著提升模糊测试分支覆盖。

现代基于生成器的模糊测试将轻量生成器与覆盖率引导变异结合,以探索深层路径;定制领域生成器可编码结构与语义逻辑,但编写测试成本高。Gentoo 探索能否用 AI 编码代理自动合成此类目标特定生成器,并使其无需覆盖率引导与变异。该方法让 LLM 代理获得终端访问及目标与库源码,迭代合成并精化输入生成器,可选谓词级覆盖率反馈。作者在 7 个真实 Java 库的模糊目标上以三种配置对比人工生成器。结果表明,代理生成器在 4/7 基准上分支覆盖显著更高;覆盖率引导和变异对代理生成器无统计显著收益,但对所有人工生成器显著,说明代理生成器编码的结构语义逻辑使覆盖率引导基本不必要。

问题
定制高质量输入生成器虽能到达深层程序状态,但其编写与测试开销高;本文探究 AI 编码代理能否自动合成足够强的目标特定生成器。
方法
Gentoo 为 LLM 编码代理提供终端访问和目标/库源码,令其迭代合成与精化输入生成器,并可选提供谓词级细粒度覆盖率反馈。
评估
在 7 个真实 Java 库的模糊测试目标上,以三种 Gentoo 配置与人工生成器比较分支覆盖,并检验覆盖率引导与变异是否带来显著收益。
原文摘要(Abstract)

Modern generator-based fuzzing techniques combine lightweight input generators with coverage-guided mutation as a method of exploring deep execution paths in a target program. A complementary approach in prior research focuses on creating highly customized, domain-specific generators that encode structural and semantic logic sufficient enough to reach deep program states; the challenge comes from the overhead of writing and testing these complex generators. We investigate whether AI coding agents can automatically synthesize such target-specific generators, and whether the resulting generators are strong enough to obviate the need for coverage guidance and mutation entirely. Our approach, Gentoo, is comprised of an LLM coding agent (provided terminal access and source code of the fuzz target and its library) instructed to iteratively synthesize and refine an input generator, and optionally provided fine-grained predicate-level coverage feedback. We evaluate three configurations of Gentoo against human-written generators on fuzz targets for 7 real-world Java libraries. Our findings show that agent-synthesized generators achieve statistically significantly higher branch coverage than human-written baseline generators on 4 of 7 benchmarks. Critically, the use of coverage guidance and mutation strategies is not statistically significantly beneficial for agent-synthesized generators, but is significant for all human-written generators, suggesting that structural and semantic logic encoded in the agent generators makes coverage guidance largely unnecessary.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot12467,
  title = {Predicate-Guided Synthesis of Input Generators via Gentoo},
  author = {Vasudev Vikram and Rohan Padhye},
  booktitle = {ASE},
  year = {2026},
  doi = {10.1145/3832783.3837441}
}