Configuring Test Generators using Bug Reports: A Case Study of GCC Compiler and Csmith
Md Rafiqul Islam Rabin, Mohammad Amin Alipour

TL;DR
This study enhances compiler testing by leveraging bug report insights to guide test generation, resulting in higher coverage and more bug detection in GCC compiler testing.
Contribution
It introduces a novel bug report-driven configuration method for test generators, improving bug detection effectiveness in compiler testing.
Findings
Higher code coverage achieved
More miscompilation failures triggered
Effective across multiple GCC versions
Abstract
The correctness of compilers is instrumental in the safety and reliability of other software systems, as bugs in compilers can produce executables that do not reflect the intent of programmers. Such errors are difficult to identify and debug. Random test program generators are commonly used in testing compilers, and they have been effective in uncovering bugs. However, the problem of guiding these test generators to produce test programs that are more likely to find bugs remains challenging. In this paper, we use the code snippets in the bug reports to guide the test generation. The main idea of this work is to extract insights from the bug reports about the language features that are more prone to inadequate implementation and using the insights to guide the test generators. We use the GCC C compiler to evaluate the effectiveness of this approach. In particular, we first cluster the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Testing and Debugging Techniques · Software Engineering Research · Software Reliability and Analysis Research
