Lune

PLDI2022顶会

"Synthesizing input grammars": a replication study

Bachir Bendrissou, Rahul Gopinath, Andreas Zeller

摘要

When producing test inputs for a program, test generators (łfuzzersž) can greatly profit from grammars that formally describe the language of expected inputs. In recent years, researchers thus have studied means to recover input grammars from programs and their executions. The GLADE algorithm by Bastani et al., published at PLDI 2017, was the first blackbox approach to claim context-free approximation of input specification for non-trivial languages such as XML, Lisp, URLs, and more.

Prompted by recent observations that the GLADE algorithm may show lower performance than reported in the original paper, we have reimplemented the GLADE algorithm from scratch. Our evaluation confirms that the effectiveness score (F1) reported in the GLADE paper is overly optimistic, and in some cases, based on the wrong language. Furthermore, GLADE fares poorly in several real-world languages evaluated, producing grammars that spend megabytes to enumerate inputs.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Learning Highly Recursive Input Grammars 引用了 Mining input grammars from dynamic control flow
  • V-Star: Learning Visibly Pushdown Grammars from Program Inputs 引用了 Learning Highly Recursive Input Grammars
  • Static Inference of Regular Grammars for Ad Hoc Parsers 引用了 Learning Highly Recursive Input Grammars
  • Static Inference of Regular Grammars for Ad Hoc Parsers 引用了 Mining input grammars from dynamic control flow
  • Static Inference of Regular Grammars for Ad Hoc Parsers 引用了 Fast Deterministic Black-box Context-free Grammar Inference
  • ELFuzz: Efficient Input Generation via LLM-driven Synthesis Over Fuzzer Space 引用了 Learning Highly Recursive Input Grammars
  • ELFuzz: Efficient Input Generation via LLM-driven Synthesis Over Fuzzer Space 引用了 Mining input grammars from dynamic control flow
  • Fast Deterministic Black-box Context-free Grammar Inference 引用了 Learning Highly Recursive Input Grammars
  • Fast Deterministic Black-box Context-free Grammar Inference 引用了 Mining input grammars from dynamic control flow
  • ParDiff: Practical Static Differential Analysis of Network Protocol Parsers 引用了 Mining input grammars from dynamic control flow
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. ParDiff: Practical Static Differential Analysis of Network Protocol ParsersMingwei Zheng, Qingkai Shi, Xuwei Liu, Xiangzhe Xu 等OOPSLA 2024 · 9 次引用
  2. V-Star: Learning Visibly Pushdown Grammars from Program InputsXiaodong Jia, Gang TanPLDI 2024 · 4 次引用
  3. Fast Deterministic Black-box Context-free Grammar InferenceMohammad Rifat Arefin, Suraj Shetiya, Zili Wang, Christoph CsallnerICSE 2024 · 4 次引用
  4. Static Inference of Regular Grammars for Ad Hoc ParsersMichael Schröder, Jürgen CitoOOPSLA 2025 · 1 次引用
  5. ELFuzz: Efficient Input Generation via LLM-driven Synthesis Over Fuzzer SpaceChuyang Chen, Brendan Dolan-Gavitt, Zhiqiang LinUSENIX Security 2025

它引用的 Paper2

  1. Mining input grammars from dynamic control flowRahul Gopinath, Björn Mathis, Andreas ZellerFSE 2020 · 60 次引用
  2. Learning Highly Recursive Input GrammarsNeil Kulkarni, Caroline Lemieux, Koushik SenASE 2021 · 24 次引用

相关 Paper

  1. How Good are Input Grammar Miners? An Empirical StudyLeon Bettscheider, Andreas ZellerICSE 2026
  2. Input invariantsDominic Steinhöfel, Andreas ZellerFSE 2022 · 47 次引用
  3. NAUTILUS: Fishing for Deep Bugs with GrammarsCornelius Aschermann, Tommaso Frassetto, Thorsten Holz, Patrick Jauernig 等NDSS 2019 · 291 次引用
  4. FANDANGO: Evolving Language-Based TestingJosé Antonio Zamudio Amaya, Marius Smytzek, Andreas ZellerISSTA 2025 · 1 次引用
  5. Towards Better Semantics Exploration for Browser FuzzingChijin Zhou, Quan Zhang, Lihua Guo, Mingzhe Wang 等OOPSLA 2023 · 15 次引用
黄昏的海面,两侧是细线勾勒的悬崖