arrow
返回

Coverage Prediction for Accelerating Compiler Testing

delete2021-02-01
delete23
PRE
AI
J
Junjie Chen
G
Guancheng Wang
D
Dan Hao *
Y
Yingfei Xiong
张
张宏玉 (Hongyu Zhang)
L
Lu Zhang
B
Bing Xie
DOI:10.1109/TSE.2018.2889771delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Compilers are one of the most fundamental software systems. Compiler testing is important for assuring the quality of compilers. Due to the crucial role of compilers, they have to be well tested. Therefore, automated compiler testing techniques (those based on randomly generated programs) tend to run a large number of test programs (which are test inputs of compilers). The cost for compilation and execution for these test programs is significant. These techniques can take a long period of testing time to detect a relatively small number of compiler bugs. That may cause many practical problems, e.g., bringing a lot of costs including time costs and financial costs, and delaying the development/release cycle. Recently, some approaches have been proposed to accelerate compiler testing by executing test programs that are more likely to trigger compiler bugs earlier according to some criteria. However, these approaches ignore an important aspect in compiler testing: different test programs may have similar test capabilities (i.e., testing similar functionalities of a compiler, even detecting the same compiler bug), which may largely discount their acceleration effectiveness if the test programs with similar test capabilities are executed all the time. Test coverage is a proper approximation to help distinguish them, but collecting coverage dynamically is infeasible in compiler testing since most test programs are generated on the fly by automatic test-generation tools like Csmith. In this paper, we propose the first method to predict test coverage statically for compilers, and then propose to prioritize test programs by clustering them according to the predicted coverage information. The novel approach to accelerating compiler testing through coverage prediction is called COP (short for COverage Prediction). Our evaluation on GCC and LLVM demonstrates that COP significantly accelerates compiler testing, achieving an average of 51.01 percent speedup in test execution time on an existing dataset including three old release versions of the compilers and achieving an average of 68.74 percent speedup on a new dataset including 12 latest release versions. Moreover, COP outperforms the state-of-the-art acceleration approach significantly by improving $17.16\%\sim 82.51\%$17.16%similar to 82.51% speedups in different settings on average.
Keyword:
Compiler testing
test prioritization
machine learning
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

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

机构

U
University of Newcastle
学者数:
1.5W
论文数: 1.5W
被引数: 16
P
peking university
学者数:
11.9W
论文数: 8.7W
被引数: 146
引用论文

引用论文

Intrinsic laryngeal muscles are spared from myonecrosis in the mdx mouse model of Duchenne muscular dystrophy
err2006-12-01
err0
PREAI
errMaria Julia Marques; Renato Ferretti; Viviane Urbini Vomero; Elaine Minatel; Humberto Santo Neto
err分享
err收藏
Correction of Intrinsic Penile Chordee with a Ventral Penile Graft of Fascia Lata
err1988-07-01
err0
PREAI
errRaju Thomas; Juan M. Palomar; Blackwell B. Evans; Ronald W. Lewis
err分享
err收藏
A Survey on Software Fault Localization软件故障定位研究综述
err2016-08-01
err741
errOAAI
errWong, W. Eric; Gao, Ruizhi; Li, Yihao; Abreu, Rui; Wotawa, Franz
err分享
err收藏
Deletion of the sex-determining gene SXI1α enhances the spread of mitochondrial introns in Cryptococcus neoformans
err2018-07-17
err0
errOAAI
errZhun Yan; Zhimin Li; Li Yan; Yongting Yu; Yi Cheng; Jia Chen; Yunyun Liu; Chunsheng Gao; Liangbin Zeng; Xiangping Sun; Litao Guo; Jianping Xu
err分享
err收藏
err分享
err收藏
High prevalence of Hashimoto’s thyroiditis in patients with polycystic ovary syndrome: does the imbalance between estradiol and progesterone play a role?
err2015-03-30
err0
PREAI
errAyse Arduc; Bercem Aycicek Dogan; Sevgi Bilmez; Narin Imga Nasiroglu; Mazhar Muslum Tuna; Serhat Isik; Dilek Berker; Serdar Guler
err分享
err收藏
学者 查看更多内容