Test Case Generation Techniques for Fault Root Cause Localization

Fault root cause localization is a critical phase in software debugging, and spectrum-based fault localization methods represent a focal point in research on automated software debugging. However, the effectiveness of these methods largely hinges on the quality of the test cases. The generic applicability of test inputs varies significantly across different types of software, while randomly generated test inputs often suffer from overfitting or excessive noise, leading to significant errors in the analysis results, which limits the practical application scenarios of such technologies. To address the issues in test case generation, this paper proposes a staged exploration method based on crash paths, named Dgenerate. Firstly, binary instrumentation is employed to instrument path information at the basic block level during the program's input execution phase. Based on this information, the original test inputs are categorized into ordinary and guiding types. Subsequently, a dynamic energy scheduling algorithm is utilized to explore crash-related paths, generating high-quality test cases. Finally, the test cases are executed on the original program, and runtime information is traced. Statistical analysis is then applied to effectively pinpoint the location of the program faults. We conducted experiments on fifteen real-world CVE vulnerabilities from six different types of software. The results show that the test cases generated by Dgenerate can improve the localization efficiency by 75% on average compared to the previous techniques, which verifies the feasibility and practicability of the method in this paper.

Authors

Institutions

Publication Details

Published
2024-12-22
DOI
https://doi.org/10.1145/3712335.3712357
Citations
1
Primary Topic
Software Testing and Debugging Techniques
Type
article
Field-Weighted Citation Impact
0.49
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Test Case Generation Techniques for Fault Root Cause Localization

Ho-Ik Du, Zaiyong Ma, Chengshan Gao
1 citations
Software Testing and Debugging Techniques
0.49
article

Test Case Generation Techniques for Fault Root Cause Localization

Ho-Ik Du, Zaiyong Ma, Chengshan Gao
article en
1 citations

Abstract

Fault root cause localization is a critical phase in software debugging, and spectrum-based fault localization methods represent a focal point in research on automated software debugging. However, the effectiveness of these methods largely hinges on the quality of the test cases. The generic applicability of test inputs varies significantly across different types of software, while randomly generated test inputs often suffer from overfitting or excessive noise, leading to significant errors in the analysis results, which limits the practical application scenarios of such technologies. To address the issues in test case generation, this paper proposes a staged exploration method based on crash paths, named Dgenerate. Firstly, binary instrumentation is employed to instrument path information at the basic block level during the program's input execution phase. Based on this information, the original test inputs are categorized into ordinary and guiding types. Subsequently, a dynamic energy scheduling algorithm is utilized to explore crash-related paths, generating high-quality test cases. Finally, the test cases are executed on the original program, and runtime information is traced. Statistical analysis is then applied to effectively pinpoint the location of the program faults. We conducted experiments on fifteen real-world CVE vulnerabilities from six different types of software. The results show that the test cases generated by Dgenerate can improve the localization efficiency by 75% on average compared to the previous techniques, which verifies the feasibility and practicability of the method in this paper.

Chinatex Posts and Telecommunications Consulting and Design Institute (China) (CN)
Climate action
Openalex Percentile: Top 27%
Software Testing and Debugging Techniques
0.49
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Test Case Generation Techniques for Fault Root Cause Localization — Ho-Ik Du, Zaiyong Ma, et al. · (2024) | TGRS Research Map | TGRS