arrow
返回

Achieving High MAP-Coverage Through Pattern Constraint Reduction

delete2023-01-01
delete2
delete
OA
AI
Y
Yingquan Zhao
Z
Zan Wang
刘爽 封面图
刘爽 (Shuang Liu) *
孙俊 封面图
孙俊 (Jun Sun)
J
Junjie Chen
陈翔 封面图
陈翔 (Xiang Chen)
DOI:10.1109/TSE.2022.3144480delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Testing multi-threaded programs is challenging due to the enormous space of thread interleavings. Recently, a code coverage criterion for multi-threaded programs called MAP-coverage has been proposed and shown to be effective for testing concurrent programs. Existing approaches for achieving high MAP-coverage are based on random testing with simple heuristics, which is ineffective in systematically triggering rare thread interleavings. In this study, we propose a novel approach called pattern constraint reduction (PCR), which employs optimized constraint solving to generate thread interleavings for high MAP-coverage. The idea is to iteratively encode and solve path conditions to generate thread interleavings which are guaranteed to improve MAP-coverage. Furthermore, we effectively apply interpolation techniques to reduce the efforts of constraint solving by avoiding solving infeasible constraints. The experiment results on 20 benchmark programs show that our approach complements existing random testing based approaches when there are rare failure-inducing interleaving in the whole search space. Specifically, PCR finds concurrency bugs faster in 18 out of 20 programs, with an average speedup of 4.2x and a maximum speedup of 11.4x.
Keyword:
Computer bugs
Concurrent computing
Instruction sets
Programming
Message systems
Systematics
Sun
Concurrency bug detection
constraint solving
coverage criteria
thread-safe class

期刊

IEEE Transactions on Software Engineering 封面图
IEEE Transactions on Software Engineering
IF:
5.6
论文数:
2.9K
被引数:
1.1W

机构

T
tianjin university
学者数:
8.0W
论文数: 5.8W
被引数: 88
S
Singapore Management University
学者数:
1.5K
论文数: 2.5K
被引数: 3.5K
N
Nantong University
学者数:
1.9W
论文数: 1.1W
被引数: 2.0W
学者 查看更多机构
引用论文

引用论文

err分享
err收藏
Firefighting Acutely Increases Airway Responsiveness消防急性增加气道反应性
err1989-07-01
err0
PREAI
errCharles B. Sherman; Scott Barnhart; Mary F. Miller; Mark R. Segal; Moira Aitken; Robert Schoene; William Daniell; Linda Rosenstock
err分享
err收藏
err分享
err收藏
err分享
err收藏
err分享
err收藏
学者 查看更多内容