File Download
There are no files associated with this item.
Supplementary
-
Citations:
- Appears in Collections:
Conference Paper: JITfuzz: Coverage-guided Fuzzing for JVM Just-in-Time Compilers
Title | JITfuzz: Coverage-guided Fuzzing for JVM Just-in-Time Compilers |
---|---|
Authors | |
Issue Date | 26-Jul-2023 |
Abstract | As a widely-used platform to support various Javabytecode-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. |
Persistent Identifier | http://hdl.handle.net/10722/333860 |
DC Field | Value | Language |
---|---|---|
dc.contributor.author | Wu, Mingyuan | - |
dc.contributor.author | Lu, Minghai | - |
dc.contributor.author | Cui, Heming | - |
dc.contributor.author | Huang, Yanwei | - |
dc.contributor.author | Chen, Junjie | - |
dc.contributor.author | Zhang, Yuqun | - |
dc.contributor.author | Zhang, Lingming | - |
dc.date.accessioned | 2023-10-06T08:39:41Z | - |
dc.date.available | 2023-10-06T08:39:41Z | - |
dc.date.issued | 2023-07-26 | - |
dc.identifier.uri | http://hdl.handle.net/10722/333860 | - |
dc.description.abstract | <p>As a widely-used platform to support various Javabytecode-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 <em>JITfuzz</em>, to automatically detect JIT bugs. In particular, <em>JITfuzz</em> 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, <em>JITfuzz</em> also adopts mutators to enrich the control flows of target programs. Moreover, <em>JITfuzz</em> 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 <em>JITfuzz</em>, we conduct a set of experiments based on a benchmark suite with 16 popular JVM-based projects from GitHub. The experimental results suggest that <em>JITfuzz</em> 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, <em>JITfuzz</em> also successfully detects 36 previously unknown bugs (including 23 JIT bugs) and 27 bugs (including 18 JIT bugs) have been confirmed by the developers.<br></p> | - |
dc.language | eng | - |
dc.relation.ispartof | 45th International Conference on Software Engineering - ICSE 2023 (14/05/2023-20/05/2023, Melbourne) | - |
dc.title | JITfuzz: Coverage-guided Fuzzing for JVM Just-in-Time Compilers | - |
dc.type | Conference_Paper | - |
dc.identifier.doi | 10.1109/ICSE48619.2023.00017 | - |