DrWASI : LLM-assisted Differential Testing for WebAssembly System Interface Implementations
ACM Transactions on Software Engineering and Methodology · 28.02.2026 · 35 (2) · 1-25
DOI: 10.1145/3716379 ↗Kurz gefasst
Fachartikel in der Zeitschrift ACM Transactions on Software Engineering and Methodology, online erschienen am 21.01.2026. Verfasst von Yixuan Zhang und 8 weiteren Autor:innen. Die Arbeit wurde bisher 4-mal zitiert (Crossref) und nennt 100 Literaturangaben. Gefördert von: Key R&D Program of Hubei Province, National Natural Science Foundation of China, Xiaomi Young Talents Program.
Abstract (Originalsprache)
WebAssembly (Wasm) is an emerging binary format that serves as a compilation target for over 40 programming languages. Wasm runtimes provide execution environments that enhance portability by abstracting away operating systems and hardware details. A key component in these runtimes is the WebAssembly System Interface (WASI), which manages interactions with operating systems, like file operations. Considering the critical role of Wasm runtimes, the community has aimed to detect their implementation bugs. However, no work has focused on WASI-specific bugs that can affect the original functionalities of running Wasm binaries and cause unexpected results. To fill the void, we present DrWASI , the first general-purpose differential testing framework for WASI implementations. Our approach uses a large language model to generate seeds and applies variant and environment mutation strategies to expand and enrich the test case corpus. We then perform differential testing across major Wasm runtimes. By leveraging dynamic and static information collected during and after the execution, DrWASI can identify bugs. Our evaluation shows that DrWASI uncovered 33 unique bugs, with all confirmed and 7 fixed by developers. This research represents a pioneering step in exploring a promising yet under-explored area of the Wasm ecosystem, providing valuable insights for stakeholders.
Förderung
- Key R&D Program of Hubei Province
- National Natural Science Foundation of China
- Xiaomi Young Talents Program
Zitieren
APA
Zhang, Y., He, N., Gao, J., Cao, S., Liu, K., Wang, H., Ma, Y., Huang, G., & Liu, X. (2026). DrWASI : LLM-assisted Differential Testing for WebAssembly System Interface Implementations. ACM Transactions on Software Engineering and Methodology, 35(2), 1-25. https://doi.org/10.1145/3716379
Vancouver
Zhang Y, He N, Gao J, Cao S, Liu K, Wang H, et al. DrWASI : LLM-assisted Differential Testing for WebAssembly System Interface Implementations. ACM Transactions on Software Engineering and Methodology. 2026;35(2):1-25. doi:10.1145/3716379
BibTeX
@article{Zhang2026,
author = {Zhang, Yixuan and He, Ningyu and Gao, Jianting and Cao, Shangtong and Liu, Kaibo and Wang, Haoyu and Ma, Yun and Huang, Gang and Liu, Xuanzhe},
title = {DrWASI : LLM-assisted Differential Testing for WebAssembly System Interface Implementations},
journal = {ACM Transactions on Software Engineering and Methodology},
year = {2026},
volume = {35},
number = {2},
pages = {1--25},
doi = {10.1145/3716379}
}
EUVIMED