Lune

S&P2021Top-tier venue

One Engine to Fuzz 'em All: Generic Language Processor Testing with Semantic Validation

Yongheng Chen, Rui Zhong, Hong Hu, Hangfan Zhang, Yupeng Yang, Dinghao Wu, Wenke Lee

Abstract

Language processors, such as compilers and interpreters, are indispensable in building modern software. Errors in language processors can lead to severe consequences, like incorrect functionalities or even malicious attacks. However, it is not trivial to automatically test language processors to find bugs. Existing testing methods (or fuzzers) either fail to generate high-quality (i.e., semantically correct) test cases, or only support limited programming languages. In this paper, we propose POLYGLOT, a generic fuzzing framework that generates high-quality test cases for exploring processors of different programming languages. To achieve the generic applicability, POLYGLOT neutralizes the difference in syntax and semantics of programming languages with a uniform intermediate representation (IR). To improve the language validity, POLYGLOT performs constrained mutation and semantic validation to preserve syntactic correctness and fix semantic errors. We have applied POLYGLOT on 21 popular language processors of 9 programming languages, and identified 173 new bugs, 113 of which are fixed with 18 CVEs assigned. Our experiments show that POLYGLOT can support a wide range of programming languages, and outperforms existing fuzzers with up to 30× improvement in code coverage.

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.

29 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

  • JIT-Picking: Differential Fuzzing of JavaScript Engines cites Coverage-based Greybox Fuzzing as Markov Chain
  • WhiteFox: White-Box Compiler Fuzzing Empowered by Large Language Models cites GrayC: Greybox Fuzzing of Compilers and Analysers for C
  • WhiteFox: White-Box Compiler Fuzzing Empowered by Large Language Models cites Fuzz4All: Universal Fuzzing with Large Language Models
  • WhiteFox: White-Box Compiler Fuzzing Empowered by Large Language Models cites Evaluating Fuzz Testing
  • Fuzz4All: Universal Fuzzing with Large Language Models cites GrayC: Greybox Fuzzing of Compilers and Analysers for C
  • Fuzz4All: Universal Fuzzing with Large Language Models cites Evaluating Fuzz Testing
  • Hopper: Interpretative Fuzzing for Libraries cites Driller: Augmenting Fuzzing Through Selective Symbolic Execution
  • Hopper: Interpretative Fuzzing for Libraries cites Angora: Efficient Fuzzing by Principled Search
  • Directed Greybox Fuzzing cites Driller: Augmenting Fuzzing Through Selective Symbolic Execution
  • Directed Greybox Fuzzing cites Coverage-based Greybox Fuzzing as Markov Chain
  • Coverage-based Greybox Fuzzing as Markov Chain cites Directed Greybox Fuzzing
  • Angora: Efficient Fuzzing by Principled Search cites Driller: Augmenting Fuzzing Through Selective Symbolic Execution
  • Angora: Efficient Fuzzing by Principled Search cites Coverage-based Greybox Fuzzing as Markov Chain
  • Evaluating Fuzz Testing cites Directed Greybox Fuzzing
  • Evaluating Fuzz Testing cites Driller: Augmenting Fuzzing Through Selective Symbolic Execution
  • Evaluating Fuzz Testing cites Angora: Efficient Fuzzing by Principled Search
  • Evaluating Fuzz Testing cites Coverage-based Greybox Fuzzing as Markov Chain
  • Coverage-based Greybox Fuzzing as Markov Chain cites Driller: Augmenting Fuzzing Through Selective Symbolic Execution
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers29

  1. Fuzz4All: Universal Fuzzing with Large Language ModelsChunqiu Steven Xia, Matteo Paltenghi, Jia Le Tian, Michael Pradel et al.ICSE 2024 · 155 citations
  2. WhiteFox: White-Box Compiler Fuzzing Empowered by Large Language ModelsChenyuan Yang, Yinlin Deng, Runyu Lu, Jiayi Yao et al.OOPSLA 2024 · 74 citations
  3. GrayC: Greybox Fuzzing of Compilers and Analysers for CKarine Even-Mendoza, Arindam Sharma, Alastair F. Donaldson, Cristian CadarISSTA 2023 · 52 citations
  4. JIT-Picking: Differential Fuzzing of JavaScript EnginesLukas Bernhard, Tobias Scharnowski, Moritz Schloegel, Tim Blazytko et al.CCS 2022 · 42 citations
  5. Hopper: Interpretative Fuzzing for LibrariesPeng Chen, Yuxuan Xie, Yunlong Lyu, Yuxiao Wang et al.CCS 2023 · 23 citations

Builds on18

  1. Coverage-based Greybox Fuzzing as Markov ChainMarcel Böhme, Van-Thuan Pham, Abhik RoychoudhuryCCS 2016 · 1,026 citations
  2. Driller: Augmenting Fuzzing Through Selective Symbolic ExecutionNick Stephens, John Grosen, Christopher Salls, Andrew Dutcher et al.NDSS 2016 · 1,021 citations
  3. Directed Greybox FuzzingMarcel Böhme, Van-Thuan Pham, Manh-Dung Nguyen, Abhik RoychoudhuryCCS 2017 · 836 citations
  4. Evaluating Fuzz TestingGeorge Klees, Andrew Ruef, Benji Cooper, Shiyi Wei et al.CCS 2018 · 753 citations
  5. Angora: Efficient Fuzzing by Principled SearchPeng Chen, Hao ChenS&P 2018 · 616 citations

Related papers

  1. PolyFuzz: Holistic Greybox Fuzzing of Multi-Language SystemsWen Li, Jinyang Ruan, Guangbei Yi, Long Cheng et al.USENIX Security 2023
  2. Finding Compiler Bugs through Cross-Language Code Generator and Differential TestingQiong Feng, Xiaotian Ma, Ziyuan Feng, Marat Akhin et al.OOPSLA 2025 · 2 citations
  3. Hybrid Language Processor Fuzzing via LLM-Based Constraint SolvingYupeng Yang, Shenglong Yao, Jizhou Chen, Wenke LeeUSENIX Security 2025
  4. SQUIRREL: Testing Database Management Systems with Language Validity and Coverage FeedbackRui Zhong, Yongheng Chen, Hong Hu, Hangfan Zhang et al.CCS 2020 · 5 citations
  5. PyRTFuzz: Detecting Bugs in Python Runtimes via Two-Level Collaborative FuzzingWen Li, Haoran Yang, Xiapu Luo, Long Cheng et al.CCS 2023 · 14 citations
Dusk over the sea between two cliffs drawn in fine vertical lines