paperbot · PL 论文追踪

全部论文 待读 收藏

P2 One fuzzing strategy to rule them all

一种统御所有模糊测试的策略
ICSE Proceedings of the 44th International Conference on Software Engineering2022匹配度 2/10 · 该论文研究覆盖率引导模糊测试中的 Havoc 变异策略并用多臂老虎机进行动态调整,属于动态程序测试/软件测试方向,与用户关注的静态分析、LLM/Agent 改进分析验证、浮点程序分析或贝叶斯程序分析交叉等核心方向基本无关。虽然涉及程序分析与测试工具,但既不涉及 LLM/Agent,也不是静态分析或形式化验证。引用 79 inbox
Mingyuan Wu, Ling Jiang, Jiahong Xiang, Yanwei Huang, Heming Cui, Lingming Zhang, Yuqun Zhang
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:首次实证研究 Havoc 模糊测试变异策略,并提出基于多臂老虎机的 HavocMAB,显著提升边缘覆盖。

覆盖率引导模糊测试已成为自动暴露漏洞的主流。现有 fuzzer 常将随机变异策略 Havoc 作为默认选项,却未探索不同配置的潜力或改进依据。本文首次对 Havoc 进行实证研究,发现默认配置可显著提升边缘覆盖,单独运行 Havoc 亦具强覆盖表现,延长执行时间还能缩小多数 fuzzer 的性能差距。受此启发,作者提出 HavocMAB,将 Havoc 变异策略建模为多臂老虎机问题并动态调整。在基准项目上,HavocMAB 相比 Havoc 平均提升 11.1% 边缘覆盖,略优于三线程 QSYM;三线程下较 QSYM 平均边缘覆盖高 9%。

问题
现有覆盖率引导模糊测试普遍将 Havoc 随机变异作为默认实现,但缺乏对其不同配置效果与改进依据的系统理解。
方法
首次对 Havoc 进行实证研究,并据此提出 HavocMAB,将 Havoc 变异策略建模为多臂老虎机问题以动态调整变异策略。
评估
在基准项目上评估边缘覆盖:HavocMAB 较 Havoc 平均提升 11.1%,略优于三线程 QSYM;三线程下较 QSYM 平均高 9%。
原文摘要(Abstract)

Coverage-guided fuzzing has become mainstream in fuzzing to automatically expose program vulnerabilities. Recently, a group of fuzzers are proposed to adopt a random search mechanism namely Havoc, explicitly or implicitly, to augment their edge exploration. However, they only tend to adopt the default setup of Havoc as an implementation option while none of them attempts to explore its power under diverse setups or inspect its rationale for potential improvement. In this paper, to address such issues, we conduct the first empirical study on Havoc to enhance the understanding of its characteristics. Specifically, we first find that applying the default setup of Havoc to fuzzers can significantly improve their edge coverage performance. Interestingly, we further observe that even simply executing Havoc itself without appending it to any fuzzer can lead to strong edge coverage performance and outperform most of our studied fuzzers. Moreover, we also extend the execution time of Havoc and find that most fuzzers can not only achieve significantly higher edge coverage, but also tend to perform similarly (i.e., their performance gaps get largely bridged). Inspired by the findings, we further propose HavocMAB, which models the Havoc mutation strategy as a multi-armed bandit problem to be solved by dynamically adjusting the mutation strategy. The evaluation result presents that HavocMAB can significantly increase the edge coverage by 11.1% on average for all the benchmark projects compared with Havoc and even slightly outperform state-of-the-art QSYM which augments its computing resource by adopting three parallel threads. We further execute HavocMAB with three parallel threads and result in 9% higher average edge coverage over QSYM upon all the benchmark projects.

链接与引用

DOI 原文 · DBLP

BibTeX
@inproceedings{WuJXHCZZ22,
  title = {One fuzzing strategy to rule them all},
  author = {Mingyuan Wu and Ling Jiang and Jiahong Xiang and Yanwei Huang and Heming Cui and Lingming Zhang and Yuqun Zhang},
  booktitle = {ICSE},
  year = {2022},
  doi = {10.1145/3510003.3510174}
}