Yixuan, Zhang;
Shangtong, Cao;
Haoyu, Wang;
Chen, Zhenpeng;
Xiapu, Luo;
Dongliang, Mu;
Yun, Ma;
... Xuanzhe, Liu; + view all
(2023)
Characterizing and Detecting WebAssembly Runtime Bugs.
ACM Transactions on Software Engineering and Methodology
(In press).
Preview |
PDF
TOSEM_Characterizing_and_Detecting_Bugs_in_WebAssembly_Runtimes_first_look_version_.pdf - Accepted Version Download (1MB) | Preview |
Abstract
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 as 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 in WASM 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.
Type: | Article |
---|---|
Title: | Characterizing and Detecting WebAssembly Runtime Bugs |
Open access status: | An open access version is available from UCL Discovery |
Publisher version: | https://dl.acm.org/ |
Language: | English |
Additional information: | This version is the author accepted manuscript. For information on re-use, please refer to the publisher's terms and conditions. |
Keywords: | WebAssembly, WebAssembly runtime |
UCL classification: | UCL UCL > Provost and Vice Provost Offices > UCL BEAMS UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Engineering Science UCL > Provost and Vice Provost Offices > UCL BEAMS > Faculty of Engineering Science > Dept of Computer Science |
URI: | https://discovery.ucl.ac.uk/id/eprint/10176723 |



1. | ![]() | 19 |
2. | ![]() | 10 |
3. | ![]() | 5 |
4. | ![]() | 4 |
5. | ![]() | 3 |
6. | ![]() | 3 |
7. | ![]() | 3 |
8. | ![]() | 3 |
9. | ![]() | 2 |
10. | ![]() | 2 |
Archive Staff Only
![]() |
View Item |