Lune

ISSTA2023Top-tier venue

Finding Short Slow Inputs Faster with Grammar-Based Search

Ziyad Alsaeed, Michal Young

Abstract

Recent research has shown that mutational search with appropriate instrumentation can generate short inputs that demonstrate performance issues. Another thread of fuzzing research has shown that substituting subtrees from a forest of derivation trees is an effective grammar-based fuzzing technique for finding deep semantic bugs. We combine performance fuzzing with grammar-based search by generating length-limited derivation trees in which each subtree is labeled with its length. In addition we use performance instrumentation feedback to guide search. In contrast to fuzzing for security issues, for which fuzzing campaigns of many hours or even weeks can be appropriate, we focus on searches that are short enough (up to an hour with modest computational resources) to be part of a routine incremental test process. We have evaluated combinations of these approaches, with baselines including the best prior performance fuzzer. No single search technique dominates across all examples, but both Monte Carlo tree search and length-limited tree hybridization perform consistently well on example applications in which semantic performance bugs can be found with syntactically correct input. In the course of our evaluation we discovered a hang bug in LunaSVG, which the developers have acknowledged and corrected.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Learning Highly Recursive Input Grammars cites NAUTILUS: Fishing for Deep Bugs with Grammars
  • Learning Highly Recursive Input Grammars cites Mining input grammars from dynamic control flow
  • Context-Free Grammar Inference for Complex Programming Languages in Black Box Settings cites Learning Highly Recursive Input Grammars
  • Context-Free Grammar Inference for Complex Programming Languages in Black Box Settings cites NAUTILUS: Fishing for Deep Bugs with Grammars
  • Context-Free Grammar Inference for Complex Programming Languages in Black Box Settings cites Incremental Context-free Grammar Inference in Black Box Settings
  • Context-Free Grammar Inference for Complex Programming Languages in Black Box Settings cites Fast Deterministic Black-box Context-free Grammar Inference
  • Context-Free Grammar Inference for Complex Programming Languages in Black Box Settings cites Gramatron: effective grammar-aware fuzzing
  • Incremental Context-free Grammar Inference in Black Box Settings cites Learning Highly Recursive Input Grammars
  • Incremental Context-free Grammar Inference in Black Box Settings cites NAUTILUS: Fishing for Deep Bugs with Grammars
  • Incremental Context-free Grammar Inference in Black Box Settings cites Fast Deterministic Black-box Context-free Grammar Inference
  • Incremental Context-free Grammar Inference in Black Box Settings cites Gramatron: effective grammar-aware fuzzing
  • Mining input grammars from dynamic control flow cites NAUTILUS: Fishing for Deep Bugs with Grammars
  • Fast Deterministic Black-box Context-free Grammar Inference cites Learning Highly Recursive Input Grammars
  • Fast Deterministic Black-box Context-free Grammar Inference cites Mining input grammars from dynamic control flow
  • Fast Deterministic Black-box Context-free Grammar Inference cites Gramatron: effective grammar-aware fuzzing
  • Gramatron: effective grammar-aware fuzzing cites NAUTILUS: Fishing for Deep Bugs with Grammars
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Fast Deterministic Black-box Context-free Grammar InferenceMohammad Rifat Arefin, Suraj Shetiya, Zili Wang, Christoph CsallnerICSE 2024 · 4 citations
  2. Incremental Context-free Grammar Inference in Black Box SettingsFeifei Li, Xiao Chen, Xi Xiao, Xiaoyu Sun et al.ASE 2024 · 1 citation
  3. Context-Free Grammar Inference for Complex Programming Languages in Black Box SettingsFeifei Li, Xiao Chen, Xiaoyu Sun, Xi Xiao et al.ICSE 2026

Builds on5

  1. NAUTILUS: Fishing for Deep Bugs with GrammarsCornelius Aschermann, Tommaso Frassetto, Thorsten Holz, Patrick Jauernig et al.NDSS 2019 · 291 citations
  2. SlowFuzz: Automated Domain-Independent Detection of Algorithmic Complexity VulnerabilitiesTheofilos Petsios, Jason Zhao, Angelos D. Keromytis, Suman JanaCCS 2017 · 214 citations
  3. Mining input grammars from dynamic control flowRahul Gopinath, Björn Mathis, Andreas ZellerFSE 2020 · 60 citations
  4. Gramatron: effective grammar-aware fuzzingPrashast Srivastava, Mathias PayerISSTA 2021 · 51 citations
  5. Learning Highly Recursive Input GrammarsNeil Kulkarni, Caroline Lemieux, Koushik SenASE 2021 · 24 citations

Related papers

  1. Understanding and Detecting Performance Bugs in Markdown CompilersPenghui Li, Yinxi Liu, Wei MengASE 2021 · 12 citations
  2. Skyfire: Data-Driven Seed Generation for FuzzingJunjie Wang, Bihuan Chen, Lei Wei, Yang LiuS&P 2017 · 382 citations
  3. Towards Better Semantics Exploration for Browser FuzzingChijin Zhou, Quan Zhang, Lihua Guo, Mingzhe Wang et al.OOPSLA 2023 · 15 citations
  4. Angora: Efficient Fuzzing by Principled SearchPeng Chen, Hao ChenS&P 2018 · 616 citations
  5. Intriguer: Field-Level Constraint Solving for Hybrid FuzzingMingi Cho, Seoyoung Kim, Taekyoung KwonCCS 2019 · 54 citations
Dusk over the sea between two cliffs drawn in fine vertical lines