Isolating Compiler Bugs by Generating Effective Witness Programs with Large Language Models
Haoxin Tu, Zhide Zhou, He Jiang, Imam Nur Bani Yusuf, Yuxian Li,, Lingxiao Jiang

TL;DR
This paper introduces LLM4CBI, a novel method leveraging large language models with specialized components to generate effective witness programs for isolating compiler bugs, significantly outperforming existing approaches.
Contribution
The paper presents a new LLM-based approach with three innovative components for bug isolation, improving effectiveness and reducing human effort compared to prior methods.
Findings
LLM4CBI isolates 69.70% more bugs than DiWi in Top-1 results
It outperforms RecBi by 24.44% in Top-1 bug isolation
The approach maintains effectiveness even when replacing LLM components
Abstract
Compiler bugs pose a significant threat to safety-critical applications, and promptly as well as effectively isolating these bugs is crucial for assuring the quality of compilers. However, the limited availability of debugging information on reported bugs complicates the compiler bug isolation task. Existing compiler bug isolation approaches convert the problem into a test program mutation problem, but they are still limited by ineffective mutation strategies or high human effort requirements. Drawing inspiration from the recent progress of pre-trained Large Language Models (LLMs), such as ChatGPT, in code generation, we propose a new approach named LLM4CBI to utilize LLMs to generate effective test programs for compiler bug isolation. However, using LLMs directly for test program mutation may not yield the desired results due to the challenges associated with formulating precise…
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 Engineering Research · Software Testing and Debugging Techniques · Software Reliability and Analysis Research
