paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Shaping Test Inputs in Grammar-Based Fuzzing

在基于语法的模糊测试中塑造测试输入
ISSTA Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis2024匹配度 2/10 · 该论文聚焦基于语法的模糊测试与分布采样,属于动态测试方向,未涉及用户核心关注的静态分析、LLM/Agent 与程序分析交叉、浮点程序分析或贝叶斯程序分析。虽然同属 PL/软件工程范畴,但研究问题和方法与用户研究画像匹配度较低。引用 2 inbox
José Antonio Zamudio Amaya
crossref: 2026-09-12

AI 速览

一句话:综述基于语法的模糊测试局限,并首次将分布采样引入模糊测试以更全面探索输入空间。

模糊测试是发现漏洞的重要方法,但传统模糊测试难以处理需要复杂专用输入模式的系统。基于语法的模糊测试利用形式语法约束生成输入,可产生符合语法要求的复杂测试用例;然而现有方法偏向某些输入特征,导致解空间的大片区域未被充分探索甚至被忽略。本文回顾该领域最新方法,重点分析基于语法模糊测试的局限,并提出一种将分布采样融入模糊测试的初步方法。早期实验/案例得到令人鼓舞的初步结果,表明该方向有望推动基于语法模糊测试实现更全面的输入空间探索,进而提升被测系统的鲁棒性与可靠性。

问题
现有基于语法的模糊测试对某些输入特征存在偏置,导致解空间的大部分区域未被充分探索或被忽略。
方法
综述最新的基于语法的模糊测试方法,并首次提出将分布采样融入模糊测试流程的初步方案。
评估
通过初步实验或早期结果进行评估,报告了令人鼓舞的初步发现,但尚未给出大规模实证结论。
原文摘要(Abstract)

Fuzzing is an essential method for finding vulnerabilities. Conventional fuzzing looks across a wide input space, but it cannot handle systems that need intricate and specialized input patterns. Grammar-based fuzzing uses formal grammars to shape the inputs the fuzzer generates. This method is crucial for directing fuzzers to generate complicated inputs that adhere to syntactical requirements. However, existing approaches are biased towards certain input features, leading to significant portions of the solution space being under-explored or ignored. In this paper, we review the state-of-the-art methods, emphasizing the limitations of grammar-based fuzzing, and we provide a first approach for incorporating distribution sampling into fuzzing, accompanied by encouraging first findings. This work can represent a significant step towards achieving comprehensive input space exploration in grammar-based fuzzing, with implications for enhancing the robustness and reliability of the fuzzing targets.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot8508,
  title = {Shaping Test Inputs in Grammar-Based Fuzzing},
  author = {José Antonio Zamudio Amaya},
  booktitle = {ISSTA},
  year = {2024},
  doi = {10.1145/3650212.3685553}
}