Lune

ICSE2023顶会

JITfuzz: Coverage-guided Fuzzing for JVM Just-in-Time Compilers

Mingyuan Wu, Minghai Lu, Heming Cui, Junjie Chen, Yuqun Zhang, Lingming Zhang

摘要

As a widely-used platform to support various Java-bytecode-based applications, Java Virtual Machine (JVM) incurs severe performance loss caused by its real-time program interpretation mechanism. To tackle this issue, the Just-in- Time compiler (JIT) has been widely adopted to strengthen the efficacy of JVM. Therefore, how to effectively and efficiently detect JIT bugs becomes critical to ensure the correctness of JVM. In this paper, we propose a coverage-guided fuzzing framework, namely JITfuzz, to automatically detect JIT bugs. In particular, JITfuzz adopts a set of optimization-activating mutators to trigger the usage of typical JIT optimizations, e.g., function inlining and simplification. Meanwhile, given JIT optimizations are closely coupled with program control flows, JITfuzz also adopts mutators to enrich the control flows of target programs. Moreover, JITfuzz also proposes a mutator scheduler which iteratively schedules mutators according to the coverage updates to maximize the code coverage of JIT. To evaluate the effectiveness of JITfuzz, we conduct a set of experiments based on a benchmark suite with 16 popular JVM-based projects from GitHub. The experimental results suggest that JITfuzz outperforms the state-of-the-art mutation-based and generation-based JVM fuzzers by 27.9 % and 18.6 % respectively in terms of edge coverage on average. Furthermore, JITfuzz also successfully detects 36 previously unknown bugs (including 23 JIT bugs) and 27 bugs (including 18 JIT bugs) have been confirmed by the developers.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Validating JIT Compilers via Compilation Space Exploration 引用了 SJFuzz: Seed and Mutator Scheduling for JVM Fuzzing
  • Validating JIT Compilers via Compilation Space Exploration 引用了 Fuzzing JavaScript Engines with Aspect-preserving Mutation
  • SJFuzz: Seed and Mutator Scheduling for JVM Fuzzing 引用了 DeepBillboard: systematic physical-world testing of autonomous driving systems
  • SJFuzz: Seed and Mutator Scheduling for JVM Fuzzing 引用了 Evaluating and Improving Hybrid Fuzzing
  • SJFuzz: Seed and Mutator Scheduling for JVM Fuzzing 引用了 NEUZZ: Efficient Fuzzing with Neural Program Smoothing
  • SJFuzz: Seed and Mutator Scheduling for JVM Fuzzing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
  • SoK: Prudent Evaluation Practices for Fuzzing 引用了 Evaluating and Improving Hybrid Fuzzing
  • SoK: Prudent Evaluation Practices for Fuzzing 引用了 NEUZZ: Efficient Fuzzing with Neural Program Smoothing
  • SoK: Prudent Evaluation Practices for Fuzzing 引用了 Fuzzing JavaScript Engines with Aspect-preserving Mutation
  • SoK: Prudent Evaluation Practices for Fuzzing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
  • Evaluating and Improving Hybrid Fuzzing 引用了 DeepBillboard: systematic physical-world testing of autonomous driving systems
  • Evaluating and Improving Hybrid Fuzzing 引用了 NEUZZ: Efficient Fuzzing with Neural Program Smoothing
  • Evaluating and Improving Hybrid Fuzzing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
  • NEUZZ: Efficient Fuzzing with Neural Program Smoothing 引用了 Coverage-based Greybox Fuzzing as Markov Chain
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper19

  1. SoK: Prudent Evaluation Practices for FuzzingMoritz Schloegel, Nils Bars, Nico Schiller, Lukas Bernhard 等S&P 2024 · 69 次引用
  2. Evaluating and Improving Hybrid FuzzingLing Jiang, Hengchen Yuan, Mingyuan Wu, Lingming Zhang 等ICSE 2023 · 29 次引用
  3. Validating JIT Compilers via Compilation Space ExplorationCong Li, Yanyan Jiang, Chang Xu, Zhendong SuSOSP 2023 · 22 次引用
  4. SJFuzz: Seed and Mutator Scheduling for JVM FuzzingMingyuan Wu, Yicheng Ouyang, Minghai Lu, Junjie Chen 等FSE 2023 · 14 次引用
  5. Fuzzing MLIR Compiler Infrastructure via Operation Dependency AnalysisChenyao Suo, Junjie Chen, Shuang Liu, Jiajun Jiang 等ISSTA 2024 · 12 次引用

它引用的 Paper22

  1. Coverage-based Greybox Fuzzing as Markov ChainMarcel Böhme, Van-Thuan Pham, Abhik RoychoudhuryCCS 2016 · 1,026 次引用
  2. NEUZZ: Efficient Fuzzing with Neural Program SmoothingDongdong She, Kexin Pei, Dave Epstein, Junfeng Yang 等S&P 2019 · 220 次引用
  3. Deep learning library testing via effective model generationZan Wang, Ming Yan, Junjie Chen, Shuang Liu 等FSE 2020 · 165 次引用
  4. DeepBillboard: systematic physical-world testing of autonomous driving systemsHusheng Zhou, Wei Li, Zelun Kong, Junfeng Guo 等ICSE 2020 · 150 次引用
  5. Fuzzing JavaScript Engines with Aspect-preserving MutationSoyeon Park, Wen Xu, Insu Yun, Daehee Jang 等S&P 2020 · 126 次引用

相关 Paper

  1. Detecting JVM JIT Compiler Bugs via Exploring Two-Dimensional Input SpacesHaoxiang Jia, Ming Wen, Zifan Xie, Xiaochen Guo 等ICSE 2023 · 21 次引用
  2. OptFuzz: Optimization Path Guided Fuzzing for JavaScript JIT CompilersJiming Wang, Yan Kang, Chenggang Wu, Yuhao Hu 等USENIX Security 2024 · 7 次引用
  3. Fuzzing Java Optimizing Compilers with Complex Inter-Class Structures Guided by Heterogeneous Program GraphsShiyu Qiu, Ming Wen, Zifan Xie, Hai JinICSE 2026
  4. Zeror: Speed Up Fuzzing with Coverage-sensitive Tracing and SchedulingChijin Zhou, Mingzhe Wang, Jie Liang, Zhe Liu 等ASE 2020 · 35 次引用
  5. BCFuzz: Bytecode-Driven Fuzzing for JavaScript EnginesJiming Wang, Chenggang Wu, Jikai Ren, Yuhao Hu 等ASE 2025 · 1 次引用
黄昏的海面,两侧是细线勾勒的悬崖