| 注册
首页|期刊导航|计算机应用与软件|Wafer:基于多样化代码模糊技术的WebAssembly编译器测试

Wafer:基于多样化代码模糊技术的WebAssembly编译器测试

张云哲 曾瑞莹 赵文轩 顾嘉臻 周扬帆 王新

计算机应用与软件2026,Vol.43Issue(2):1-7,49,8.
✕
计算机应用与软件2026,Vol.43Issue(2):1-7,49,8.DOI:10.3969/j.issn.1000-386x.2026.02.001

Wafer:基于多样化代码模糊技术的WebAssembly编译器测试

WAFER:TESTING WEBASSEMBLY COMPILERS VIA DIVERSE SOURCE CODE FUZZING

张云哲 1曾瑞莹 1赵文轩 1顾嘉臻 1周扬帆 1王新1

作者信息

  • 1. 复旦大学计算机科学技术学院 上海 200433
  • 折叠

摘要

Abstract

WebAssembly is an emerging form of binary compilation target that offers a portable representation and high-performance execution.However,WebAssembly compilers are not bug-free.Wafer is a fuzzing-based tool to test C-to-WebAssembly compilers.In order to generate diverse and comprehensive test cases,Wafer adopts three different code-fuzzing strategies.To solve the test oracle,Wafer compares the behaviors of compiled WebAssembly bytecode to the original C program,which are expected to have consistent behaviors.We applied Wafer to test two widely-adopted C-to-WebAssembly compilers,i.e.Cheerp and Emscripten.Wafer detected 14 new bugs in these compilers.All detected bugs were confirmed by developers.Extensive studies show that Wafer is capable of detecting various types of bugs,and achieves higher coverage than existing tools.

关键词

模糊测试/编译器测试/WebAssembly/代码生成

Key words

Fuzzing/Compiler testing/WebAssembly/Code generation

分类

信息技术与安全科学

引用本文复制引用

张云哲,曾瑞莹,赵文轩,顾嘉臻,周扬帆,王新..Wafer:基于多样化代码模糊技术的WebAssembly编译器测试[J].计算机应用与软件,2026,43(2):1-7,49,8.

计算机应用与软件

1000-386X

访问量0
|
下载量0
段落导航相关论文