Lune

ICSE2022Top-tier venue

GraphFuzz: Library API Fuzzing with Lifetime-aware Dataflow Graphs

Harrison Green, Thanassis Avgerinos

Abstract

We present the design and implementation of GraphFuzz, a new structure-, coverage-and object lifetime-aware fuzzer capable of automatically testing low-level Library APIs. Unlike other fuzzers, GraphFuzz models sequences of executed functions as a dataflow graph, thus enabling it to perform graph-based mutations both at the data and at the execution trace level. GraphFuzz comes with an automated specification generator to minimize the developer integration effort. We use GraphFuzz to analyze Skia-the rigorously tested Google Chrome graphics library-and benchmark GraphFuzz-generated fuzzing harnesses against hand-optimized, painstakingly written libFuzzer harnesses. We find that GraphFuzz generates test cases that achieve 2-3x more code coverage on average with minimal development effort, and also uncovered previous unknown defects in the process. We demonstrate GraphFuzz's applicability on lowlevel APIs by analyzing four additional open-source libraries and finding dozens of previously unknown defects. All security relevant findings have already been reported and fixed by the developers. Last, we open-source GraphFuzz under a permissive license and provide code to reproduce all results in this paper.

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.

25 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

  • Prompt Fuzzing for Fuzz Driver Generation cites RULF: Rust Library Fuzzing via API Dependency Graph Traversal
  • EL3XIR: Fuzzing COTS Secure Monitors cites FuzzGen: Automatic Fuzzer Generation
  • SoK: Prudent Evaluation Practices for Fuzzing cites NAUTILUS: Fishing for Deep Bugs with Grammars
  • SoK: Prudent Evaluation Practices for Fuzzing cites RULF: Rust Library Fuzzing via API Dependency Graph Traversal
  • SoK: Prudent Evaluation Practices for Fuzzing cites Hopper: Interpretative Fuzzing for Libraries
  • SoK: Prudent Evaluation Practices for Fuzzing cites FuzzGen: Automatic Fuzzer Generation
  • SoK: Prudent Evaluation Practices for Fuzzing cites CodeAlchemist: Semantics-Aware Code Generation to Find Vulnerabilities in JavaScript Engines
  • RULF: Rust Library Fuzzing via API Dependency Graph Traversal cites FuzzGen: Automatic Fuzzer Generation
  • Hopper: Interpretative Fuzzing for Libraries cites NAUTILUS: Fishing for Deep Bugs with Grammars
  • Hopper: Interpretative Fuzzing for Libraries cites FuzzGen: Automatic Fuzzer Generation
  • CodeAlchemist: Semantics-Aware Code Generation to Find Vulnerabilities in JavaScript Engines cites IMF: Inferred Model-based Fuzzer
  • Fuzzing MLIR Compiler Infrastructure via Operation Dependency Analysis cites RULF: Rust Library Fuzzing via API Dependency Graph Traversal
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers25

  1. SoK: Prudent Evaluation Practices for FuzzingMoritz Schloegel, Nils Bars, Nico Schiller, Lukas Bernhard et al.S&P 2024 · 69 citations
  2. Hopper: Interpretative Fuzzing for LibrariesPeng Chen, Yuxuan Xie, Yunlong Lyu, Yuxiao Wang et al.CCS 2023 · 23 citations
  3. Prompt Fuzzing for Fuzz Driver GenerationYunlong Lyu, Yuxuan Xie, Peng Chen, Hao ChenCCS 2024 · 21 citations
  4. Fuzzing MLIR Compiler Infrastructure via Operation Dependency AnalysisChenyao Suo, Junjie Chen, Shuang Liu, Jiajun Jiang et al.ISSTA 2024 · 12 citations
  5. EL3XIR: Fuzzing COTS Secure MonitorsChristian Lindenmeier, Mathias Payer, Marcel BuschUSENIX Security 2024 · 10 citations

Builds on5

  1. NAUTILUS: Fishing for Deep Bugs with GrammarsCornelius Aschermann, Tommaso Frassetto, Thorsten Holz, Patrick Jauernig et al.NDSS 2019 · 291 citations
  2. CodeAlchemist: Semantics-Aware Code Generation to Find Vulnerabilities in JavaScript EnginesHyungSeok Han, DongHyeon Oh, Sang Kil ChaNDSS 2019 · 178 citations
  3. IMF: Inferred Model-based FuzzerHyungSeok Han, Sang Kil ChaCCS 2017 · 139 citations
  4. RULF: Rust Library Fuzzing via API Dependency Graph TraversalJianfeng Jiang, Hui Xu, Yangfan ZhouASE 2021 · 44 citations
  5. FuzzGen: Automatic Fuzzer GenerationKyriakos K. Ispoglou, Daniel Austin, Vishwath Mohan, Mathias PayerUSENIX Security 2020

Related papers

  1. GrayC: Greybox Fuzzing of Compilers and Analysers for CKarine Even-Mendoza, Arindam Sharma, Alastair F. Donaldson, Cristian CadarISSTA 2023 · 52 citations
  2. GLeeFuzz: Fuzzing WebGL Through Error Message Guided MutationHui Peng, Zhihao Yao, Ardalan Amiri Sani, Dave Tian et al.USENIX Security 2023
  3. No Harness, No Problem: Oracle-guided Harnessing for Auto-generating C API Fuzzing HarnessesGabriel Sherman, Stefan NagyICSE 2025 · 1 citation
  4. FREEDOM: Engineering a State-of-the-Art DOM FuzzerWen Xu, Soyeon Park, Taesoo KimCCS 2020 · 25 citations
  5. CuFuzz: An API-Knowledge-Graph Coverage-Driven Fuzzing Framework for CUDA LibrariesXiming Fan, Yong Fang, Peng Jia, Yang Liu et al.FSE 2026
Dusk over the sea between two cliffs drawn in fine vertical lines