File Download

There are no files associated with this item.

  Links for fulltext
     (May Require Subscription)
Supplementary

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

TitleJITfuzz: Coverage-guided Fuzzing for JVM Just-in-Time Compilers
Authors
Issue Date26-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 Identifierhttp://hdl.handle.net/10722/333860

 

DC FieldValueLanguage
dc.contributor.authorWu, Mingyuan-
dc.contributor.authorLu, Minghai-
dc.contributor.authorCui, Heming-
dc.contributor.authorHuang, Yanwei-
dc.contributor.authorChen, Junjie-
dc.contributor.authorZhang, Yuqun-
dc.contributor.authorZhang, Lingming-
dc.date.accessioned2023-10-06T08:39:41Z-
dc.date.available2023-10-06T08:39:41Z-
dc.date.issued2023-07-26-
dc.identifier.urihttp://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.languageeng-
dc.relation.ispartof45th International Conference on Software Engineering - ICSE 2023 (14/05/2023-20/05/2023, Melbourne)-
dc.titleJITfuzz: Coverage-guided Fuzzing for JVM Just-in-Time Compilers-
dc.typeConference_Paper-
dc.identifier.doi10.1109/ICSE48619.2023.00017-

Export via OAI-PMH Interface in XML Formats


OR


Export to Other Non-XML Formats