A Survey of Compiler Testing

被引:142
作者
Chen, Junjie [1 ]
Patra, Jibesh [2 ]
Pradel, Michael [2 ]
Xiong, Yingfei [3 ,5 ]
Zhang, Hongyu [4 ]
Hao, Dan [3 ,5 ]
Zhang, Lu [3 ,5 ]
机构
[1] Tianjin Univ, Coll Intelligence & Comp, Tianjin 300350, Peoples R China
[2] Univ Stuttgart, Dept Comp Sci, D-70569 Stuttgart, Germany
[3] Peking Univ, Key Lab High Confidence Software Technol, MoE, Beijing, Peoples R China
[4] Univ Newcastle, Sch Elect Engn & Comp, Callaghan, NSW 2308, Australia
[5] Peking Univ, Dept Comp Sci & Technol, Beijing 100871, Peoples R China
基金
中国国家自然科学基金;
关键词
Compiler testing; test program generation; test oracle; test optimization; compiler debugging; REDUCING TEST SUITES; AUTOMATIC-GENERATION; PRIORITIZATION; REDUCTION; COVERAGE; SYNTAX; BUGS;
D O I
10.1145/3363562
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Virtually any software running on a computer has been processed by a compiler or a compiler-like tool. Because compilers are such a crucial piece of infrastructure for building software, their correctness is of paramount importance. To validate and increase the correctness of compilers, significant research efforts have been devoted to testing compilers. This survey article provides a comprehensive summary of the current state-of-the-art of research on compiler testing. The survey covers different aspects of the compiler testing problem, including how to construct test programs, what test oracles to use for determining whether a compiler behaves correctly, how to execute compiler tests efficiently, and how to help compiler developers take action on bugs discovered by compiler testing. Moreover, we survey work that empirically studies the strengths and weaknesses of current compiler testing research and practice. Based on the discussion of existing work, we outline several open challenges that remain to be addressed in future work.
引用
收藏
页数:36
相关论文
共 131 条
[1]   On the accuracy of spectrum-based fault localization [J].
Abreu, Rui ;
Zoeteweij, Peter ;
van Gemund, Arjan J. C. .
TAIC PART 2007 - TESTING: ACADEMIC AND INDUSTRIAL CONFERENCE - PRACTICE AND RESEARCH TECHNIQUES, PROCEEDINGS: CO-LOCATED WITH MUTATION 2007, 2007, :89-+
[2]   Spectrum-based Multiple Fault Localization [J].
Abreu, Rui ;
Zoeteweij, Peter ;
van Gemund, Arjan J. C. .
2009 IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING, PROCEEDINGS, 2009, :88-99
[3]  
Alipour M.A., 2016, P 25 INT S SOFTW TES, P70, DOI DOI 10.1145/2931037.2931056
[4]  
Amodio M., 2017, ARXIV E PRINTS
[5]  
[Anonymous], 2019, Test262: ECMAScript Test Suite
[6]  
[Anonymous], 2012, WORKSH SYNTH SYST IN
[7]  
[Anonymous], 2015, International Journal of PoC or GTFO
[8]   Iterative delta debugging [J].
Artho C. .
International Journal on Software Tools for Technology Transfer, 2011, 13 (3) :223-246
[9]  
Austin S. M., 1991, TRI-Ada '91 Proceedings, P320, DOI 10.1145/126551.126584
[10]   Finding Missed Compiler Optimizations by Differential Testing [J].
Barany, Gergo .
CC'18: PROCEEDINGS OF THE 27TH INTERNATIONAL CONFERENCE ON COMPILER CONSTRUCTION, 2018, :82-92