arrow
返回

Detecting Compiler Error Recovery Defects via Program Mutation Exploration

delete2025-02-01
delete0
PRE
AI
Y
Yixuan Tang
J
Jingxuan Zhang
X
Xiaochen Li
黄
黄志球 (Zhiqiu Huang)
H
He Jiang *
DOI:10.1109/TSE.2024.3510912delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Compiler error recovery diagnostics facilitates software development as it provides the possible causes and suggestions on potential programming errors. However, due to compiler bugs, error recovery diagnostics could be erroneous, spurious, missing, or even crashing for mature production compilers like GCC and Clang. Compiler testing is one of the most widely used ways of ensuring its quality. However, existing compiler diagnostics testing approaches (e.g., DIPROM) only consider the typically syntactically valid test programs as inputs, which are unlikely to trigger compiler error recovery defects. Therefore, in this paper, we propose the first mutation based approach for Compiler Error Recovery diagnostics Testing, called CERTest. Specifically, CERTest first explores the mutation space for a given seed program, and leverages a series of mutation configurations (which are referred as a series of mutators applying for a seed) to iteratively mutate the structures of the seed, so as to generate error-sensitive program variants for triggering compiler error recovery mechanisms. To effectively construct error-sensitive structures, CERTest then applies a novel furthest-first based selection approach to select a set of representative mutation configurations to generate program variants in each iteration. With the generated program variants, CERTest finally leverages differential testing to detect error recovery defects in different compilers. The experiments on GCC and Clang demonstrate that CERTest outperforms five state-of-the-art approaches (i.e., DIPROM, Ccoft, Clang-fuzzer, AFL++, and HiCOND) by up to 13.10%similar to 221.61% on average in the term of bug-finding capability, and CERTest detects 9 new error recovery defects, 5 of which have been confirmed or fixed by developers.
Keyword:
Program processors
Codes
Testing
Programming
Periodic structures
Software development management
Software
Java
Internet
Computer languages
Compiler testing
test program generation
program mutation
differential testing

期刊

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

机构

D
Dalian University of Technology
学者数:
6.0W
论文数: 4.4W
被引数: 5.5W
引用论文

引用论文

Percutaneous Nephrostomy
err1984-06-01
err0
PREAI
errRodney H. Reznek; Lee B. Talner
err分享
err收藏
err分享
err收藏
Detecting Compiler Warning Defects Via Diversity-Guided Program Mutation
err2022-11-01
err13
PREAI
errTang, Yixuan; Jiang, He; Zhou, Zhide; Li, Xiaochen; Ren, Zhilei; Kong, Weiqiang
err分享
err收藏
Microscopic DTI accurately identifies early glioma cell migration: correlation with multimodal imaging in a new glioma stem cell model
err2016-09-15
err0
PREAI
errUlysse Gimenez; Adriana‐T. Perles‐Barbacaru; Arnaud Millet; Florence Appaix; Michele El‐Atifi; Karin Pernet‐Gallay; Boudewijn van der Sanden; François Berger; Hana Lahrech
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收藏
学者 查看更多内容