paperbot · PL 论文追踪

全部论文 待读 收藏

P2 MuSC: A Tool for Mutation Testing of Ethereum Smart Contract

MuSC:一种以太坊智能合约变异测试工具
ASE 2019 34th IEEE/ACM International Conference on Automated Software Engineering (ASE)2019匹配度 2/10 · 论文聚焦以太坊智能合约 Solidity 的变异测试工具,属于软件测试/调试领域,与用户核心方向 PL→AI、AI→PL、浮点程序分析、贝叶斯程序分析及其与 LLM 的交叉均无直接关联。引用 59 inbox
Zixin Li, Haoran Wu, Jiehui Xu, Xingya Wang, Lingming Zhang, Zhenyu Chen
crossref: 2026-09-12

AI 速览

一句话:提出面向以太坊智能合约 Solidity 的变异测试工具 MuSC,支持快速生成变异体与自动化测试操作。

智能合约一旦部署到区块链便无法修改,因此部署前必须进行充分测试。变异测试可用于评估软件测试的充分性,但以太坊智能合约(ESC)需要专门的变异测试支持。本文介绍 MuSC——一个面向以太坊智能合约的变异测试工具。它能快速生成大量变异体,并支持创建测试网、部署合约和执行测试等自动化操作。特别地,MuSC 针对智能合约编程语言 Solidity 实现了一组新的变异算子,从而能够在一定程度上暴露智能合约的缺陷。工具提供演示视频和源码下载。

问题
智能合约部署后不可修改,部署前需充分测试;变异测试是评估测试充分性的实用方法,但缺乏面向以太坊智能合约的专门工具。
方法
提出 MuSC 工具,针对 Solidity 设计并实现一组新变异算子,可快速生成大量变异体,并自动化完成测试网创建、合约部署与测试执行。
评估
通过演示视频和开源代码展示工具功能;摘要未报告定量实验,声称其能快速生成变异体并一定程度暴露智能合约缺陷。
原文摘要(Abstract)

The smart contract cannot be modified when it has been deployed on a blockchain. Therefore, it must be given thorough test before its being deployed. Mutation testing is considered as a practical test methodology to evaluate the adequacy of software testing. In this paper, we introduce MuSC, a mutation testing tool for Ethereum Smart Contract (ESC). It can generate numerous mutants at a fast speed and supports the automatic operations such as creating test nets, deploying and executing tests. Specially, MuSC implements a set of novel mutation operators w.r.t ESC programming language, Solidity. Therefore, it can expose the defects of smart contracts to a certain degree. The demonstration video of MuSC is available at https: //youtu.be/3KBKXJPVjbQ, and the source code can be downloaded at https://github.com/belikout/MuSC-Tool-Demo-repo.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot5309,
  title = {MuSC: A Tool for Mutation Testing of Ethereum Smart Contract},
  author = {Zixin Li and Haoran Wu and Jiehui Xu and Xingya Wang and Lingming Zhang and Zhenyu Chen},
  booktitle = {ASE},
  year = {2019},
  doi = {10.1109/ase.2019.00136}
}