paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Parse this! Summoning Context-Sensitive Inputs with Goblin

解析这个!用 Goblin 召唤上下文敏感输入
ICSE Proceedings of the 2026 IEEE/ACM 48th International Conference on Software Engineering2026匹配度 3/10 · 论文属于基于文法与 SMT 的模糊测试/输入生成,与用户核心关注的 LLM/Agent 与静态分析/形式化验证交叉、浮点程序分析或贝叶斯程序分析没有直接关联;仅在约束求解和形式化保证层面与用户偏好的理论+工程实现有少量方法论交集。引用 1 inbox
Robert Lorch, Muhammad Daniyal Pirwani Dar, Cesare Tinelli, Omar Chowdhury
crossref: 2026-09-12

AI 速览

一句话:提出 Goblin,基于带语义约束的上下文无关文法,借助 SMT 求解器生成满足上下文敏感约束的测试输入。

基于语法的模糊测试在具有高度结构化输入格式的软件系统中能有效发现缺陷,但许多现有工具依赖上下文无关文法(CFG)表示输入结构,而 CFG 往往不足以刻画真实输入中常见的上下文敏感约束;应用专用 fuzzer 虽能处理这类约束,却缺乏适应新应用的通用性。Goblin 接受带语义约束标注的 CFG,生成既符合文法又满足约束的输入。其显著特点是通过外部 SMT 求解器支持任意 SMT 理论中的约束。受 DPLL 风格 SAT 求解器启发,Goblin 具有解可靠性、解完备性和反驳可靠性的形式保证。作者通过与先前工作比较,并将 Goblin 集成到基于语法的网络协议模糊测试器中进行了评估。

问题
基于 CFG 的模糊测试难以表达真实输入中的上下文敏感约束,而应用专用 fuzzer 又缺乏通用性。
方法
Goblin 接受带语义约束标注的 CFG,通过外部 SMT 求解器在任意 SMT 理论中求解约束,生成既符合文法又满足约束的输入,并提供解可靠性、解完备性与反驳可靠性的形式保证。
评估
作者将 Goblin 与先前工作进行比较,并将其集成到基于语法的网络协议 fuzzer 中进行评估。
原文摘要(Abstract)

Grammar-based fuzzers have been effective at identifying bugs in software systems with highly structured input formats (e.g., XML). Many existing grammar-based fuzzers rely on context-free grammars (CFGs) to represent input structure; however, CFGs are often insufficient to capture the context-sensitive constraints common in real-world inputs. While application-specific fuzzers can often handle such constraints, they lack the generality needed to adapt to new applications. We present Goblin, a new input generation tool that addresses this gap. Given a context-free grammar annotated with semantic constraints, Goblin generates inputs that both conform to the grammar and satisfy the constraints. A distinguishing feature of Goblin is its support—via an external SMT solver—for constraints expressed in arbitrary SMT theories. Inspired by DPLL-style SAT solvers, Goblin enjoys formal guarantees of solution soundness, solution completeness, and refutation soundness. We evaluate Goblin by comparing it with prior work and by integrating it into a grammar-based network protocol fuzzer.

链接与引用

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

BibTeX
@inproceedings{paperbot11669,
  title = {Parse this! Summoning Context-Sensitive Inputs with Goblin},
  author = {Robert Lorch and Muhammad Daniyal Pirwani Dar and Cesare Tinelli and Omar Chowdhury},
  booktitle = {ICSE},
  year = {2026},
  doi = {10.1145/3744916.3773270}
}