Using a Sledgehammer to Crack a Nut? Revisiting Automated Compiler Fault Isolation
Yibiao Yang, Qingyang Li, Maolin Sun, Jiangchang Wu, Yuming Zhou
摘要
Background: Compilers are fundamental to software development, translating high-level source code into executable software systems. Faults in compilers can have severe consequences and thus effective localization and resolution of compiler bugs are crucial. Problem: In practice, developers often examine version history to identify and investigate bug-inducing commit (BIC) for fixing bugs. However, while numerous sophisticated Spectrum-Based Fault Localization (SBFL) techniques have been proposed for compiler fault isolation, their effectiveness has not been evaluated against the BIC-based strategies widely adopted in practice. Objective: This study aims to bridge this gap by directly comparing a BIC-based strategy, Basic, with representative SBFL techniques in the context of compiler fault localization. The BIC-based strategy closely aligns with common developer practices, as it directly identifies the BIC and treats the files modified in that commit as faulty candidates. Method: The Basic identifies the most recent good release and earliest bad release, and then employs a binary search to pinpoint the bug-inducing commit. All files modified in the identified commit are flagged as potentially faulty. We rigorously compare Basic against SBFLbased techniques using a benchmark consisting of 60 GCC bugs and 60 LLVM bugs. Result: Our analysis reveals that Basic performs comparably to, and in many cases outperforms, state-of-the-art SBFL-based techniques, particularly on the critical Top-1 and Top-5 ranking metrics. Conclusion: This study provides new insights into the practical effectiveness of SBFL-based techniques in realworld compiler debugging scenarios. We recommend that future research adopt Basic as a baseline when developing and evaluating new compiler fault isolation methods.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 1 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Boosting Compiler Testing by Injecting Real-World Code 引用了 Random testing for C and C++ compilers with YARPGen
- Boosting Compiler Testing by Injecting Real-World Code 引用了 Fuzzing Loop Optimizations in Compilers for C++ and Data-Parallel Languages
- On the Feasibility of Deduplicating Compiler Bugs with Bisection 引用了 Boosting Compiler Testing by Injecting Real-World Code
- On the Feasibility of Deduplicating Compiler Bugs with Bisection 引用了 Random testing for C and C++ compilers with YARPGen
- On the Feasibility of Deduplicating Compiler Bugs with Bisection 引用了 Fuzzing Loop Optimizations in Compilers for C++ and Data-Parallel Languages
引用它的顶会 Paper1
它引用的 Paper14
- Random testing for C and C++ compilers with YARPGenVsevolod Livinskii, Dmitry Babokin, John RegehrOOPSLA 2020 · 140 次引用
- Fuzzing Loop Optimizations in Compilers for C++ and Data-Parallel LanguagesVsevolod Livinskii, Dmitry Babokin, John RegehrPLDI 2023 · 42 次引用
- Enhanced Compiler Bug Isolation via Memoized SearchJunjie Chen, Haoyang Ma, Lingming ZhangASE 2020 · 36 次引用
- Operational calibration: debugging confidence errors for DNNs in the fieldZenan Li, Xiaoxing Ma, Chang Xu, Jingwei Xu 等FSE 2020 · 25 次引用
- Boosting Compiler Testing by Injecting Real-World CodeShaohua Li, Theodoros Theodoridis, Zhendong SuPLDI 2024 · 24 次引用
相关 Paper
- SemBIC: Semantic-Aware Identification of Bug-Inducing CommitsXiao Chen, Hengcheng Zhu, Jialun Cao, Ming Wen 等FSE 2025 · 1 次引用
- Fonte: Finding Bug Inducing Commits from FailuresGabin An, Jingun Hong, Naryeong Kim, Shin YooICSE 2023 · 10 次引用
- LLMBisect: Breaking Barriers in Bug Bisection with A Comparative Analysis PipelineZheng Zhang, Haonan Li, Xingyu Li, Hang Zhang 等NDSS 2026 · 1 次引用
- Compiler Bug Isolation via Enhanced Test Program MutationYujie Liu, Mingxuan Zhu, Jinhao Dong, Junzhe Yu 等ASE 2024 · 3 次引用
- Traceback: A Fault Localization Technique for Molecular ProgramsMichael C. Gerten, James I. Lathrop, Myra B. CohenISSTA 2024
