arrow
Return

Fuzzing JavaScript engines with a syntax-aware neural program model

delete2024-09-01
delete1
PRE
AI
H
Haoran Xu
Y
Yongjun Wang *
Z
Zhiyuan Jiang
S
Shuhui Fan
S
Shaojing Fu
P
Peidai Xie
DOI:10.1016/j.cose.2024.103947delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Neural network language modeling has become a remarkable approach in the generation of test cases for fuzzing JavaScript engines. Fuzzers built upon neural language models offer several advantages. They obviate the need for manually developing code generation rules, enable the extraction of patterns from high -quality seed sets, and exhibit commendable portability. Nevertheless, existing works confront challenges in three key aspects: diminished language modeling performance attributable to extensive vocabularies, potential semantic errors within generated test cases, and the limitation of black -box fuzzing, which fails to leverage the internal feedback from the target engine. This paper proposes an innovative neural model -based grey -box fuzzing approach for JavaScript engines. We incorporate the context -free grammar of JavaScript into the neural language model to mitigate the challenges associated with extensive vocabularies, thereby enhancing the model's performance. Furthermore, to enhance the semantic validity of the generated test cases, we introduce semantic constraints into the mutation process. Notably, this work pioneers the integration of grey -box testing into a fuzzer built upon a neural language model, thereby enhancing the exploration of deep paths. Our prototype, PMFuzz, surpasses NNLMbased counterparts in both language modeling performance and test case generation capabilities. PMFuzz demonstrates a high level of competitiveness in exploring the software state space when compared to traditional coverage -guided grey -box fuzzers. In our evaluation, PMFuzz successfully identified 20 new defects within mainstream JS engines. Eight of them have been confirmed and fixed. Moreover, upon applying our method to C compilers, PMFuzz has revealed 11 new defects.
Keywords:
Fuzzing
JavaScript engines
Language model
Neural network
Grammar
Vocabulary
PatchFuzz: Patch fuzzing for JavaScript engines
err2026-02-17
err0
errOAAI
errJunjie Wang; Zhihua Xie; Xiaofei Xie; Xiaoning Du; Xiangwei Zhang
errShare
errSave
Evaluating seed selection for fuzzing JavaScript engines
err2023-09-26
err1
PREAI
errWen, Ming; Wang, Yongcong; Xia, Yifan; Jin, Hai
errShare
errSave
Extraction and Mutation at a High Level: Template-Based Fuzzing for JavaScript Engines
err2025-10-01
err0
PREAI
errWong, Wai Kin; Xiao, Dongwei; Lai, Cheuk Tung; Peng, Yiteng; Wu, Daoyuan; Wang, Sh Uai
errShare
errSave
Fuzzing JavaScript JIT Compilers With Optimization Path Feedback
err2026-05-08
err0
PREAI
errJiming Wang; Chenggang Wu; Yan Kang; Yuhao Hu; Yue Sun; Jikai Ren; Yuanming Lai; Mengyao Xie; Chao Zhang; Tao Li; Zhe Wang
errShare
errSave
Fuzzing With Optimized Grammar-Aware Mutation Strategies
err2021-01-01
err5
errOAAI
errDeng, Jiale; Zhu, Xiaogang; Xiao, Xi; Wen, Sheng; Li, Qing; Xia, Shutao
errShare
errSave
CoCoFuzzing: Testing Neural Code Models With Coverage-Guided Fuzzing
err2023-09-01
err5
PREAI
errWei, Moshi; Huang, Yuchao; Yang, Jinqiu; Wang, Junjie; Wang, Song
errShare
errSave
A survey of coverage-guided greybox fuzzing with deep neural models
err2025-06-02
err0
errOAAI
errJunyang Qiu; Yupeng Jiang; Yuantian Miao; Wei Luo; Lei Pan; Xi Zheng
errShare
errSave

Journal

C
Computers and Security
IF:
5.4
Papers:
4.6K
Citations:
1.8W

Organization

N
national university of defense technology - china
Scholars:
1.8W
Papers: 1.4W
Citations: 1.7W
Cited Papers

Cited Papers

Kimberlite Terminology and Classification
err2013-07-12
err0
PREAI
errB. H. Scott Smith; T. E. Nowicki; J. K. Russell; K. J. Webb; R. H. Mitchell; C. M. Hetman; M. Harder; E. M. W. Skinner; Jv. A. Robey
errShare
errSave
The Art, Science, and Engineering of Fuzzing: A Survey
err2021-11-01
err306
errOAAI
errManes, Valentin J. M.; Han, HyungSeok; Han, Choongwoo; Cha, Sang Kil; Egele, Manuel; Schwartz, Edward J.; Woo, Maverick
errShare
errSave
err
IF0
err
err0
PREAI
err
errShare
errSave
Evaluation of Cardioprotective Effect of 3,5,3′-Tri-iodo-L-thyronine in Isoproterenol-Induced Cardiotoxicity
err2011-01-01
err0
errOAAI
errVinay Mishra; Priya Ghumatkar; Maulik V. Patel; Shilpesh Devada; Ramchandra Ranvir; Prabodha Swain; Rajesh Sundar; Rajesh Bahekar; Mukul R. Jain
errShare
errSave
Is hypoxia vulnerability in fishes a by-product of maximum metabolic rate?
err2021-06-29
err0
errOAAI
errAndrew J. Esbaugh; Kerri L. Ackerly; Angelina M. Dichiera; Benjamin Negrete
errShare
errSave
Refractory sarcoidosis-like systemic granulomatosis responding to ruxolitinib
err2019-11-01
err0
PREAI
errMichael Levraut; Nihal Martis; Philippe Viau; Felipe Suarez; Viviane Queyrel
errShare
errSave
researcher View more