arrow
Return

Characterizing and Detecting WebAssembly Runtime Bugs

delete2023-12-21
delete3
delete
OA
AI
Y
Yixuan Zhang
S
Shangtong Cao
H
Haoyu Wang *
陈震鹏 (Zhenpeng Chen)
X
Xiapu Luo
D
Dongliang Mu
Y
Yun Ma *
G
Gang Huang
X
Xuanzhe Liu
DOI:10.1145/3624743delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
WebAssembly (abbreviated WASM) has emerged as a promising language of the Web and also been used for a wide spectrum of software applications such as mobile applications and desktop applications. These applications, named WASM applications, commonly run in WASM runtimes. Bugs in WASM runtimes are frequently reported by developers and cause the crash of WASM applications. However, these bugs have not been well studied. To fill in the knowledge gap, we present a systematic study to characterize and detect bugs in WASM runtimes. We first harvest a dataset of 311 real-world bugs from hundreds of related posts on GitHub. Based on the collected high-quality bug reports, we distill 31 bug categories of WASM runtimes and summarize their common fix strategies. Furthermore, we develop a pattern-based bug detection framework to automatically detect bugs inWASM runtimes. We apply the detection framework to seven popular WASM runtimes and successfully uncover 60 bugs that have never been reported previously, among which 13 have been confirmed and 9 have been fixed by runtime developers.
Keywords:
WebAssembly
WebAssembly runtime

Journal

A
ACM Transactions on Software Engineering and Methodology
IF:
6.2
Papers:
1.2K
Citations:
3.4K

Organization

B
beijing university of posts & telecommunications
Scholars:
1.4W
Papers: 1.2W
Citations: 9
H
hong kong polytechnic university
Scholars:
3.0W
Papers: 4.1W
Citations: 921
U
University College London
Scholars:
7.9W
Papers: 6.2W
Citations: 15.7W
P
peking university
Scholars:
11.7W
Papers: 8.7W
Citations: 146
U
university of london
Scholars:
21.5W
Papers: 19.7W
Citations: 305
researcher View more organizations