Title

Anomaly-Based Bug Prediction, Isolation, And Validation: An Automated Approach For Software Debugging

Keywords

Architectural support; Automated debugging

Abstract

Software defects, commonly known as bugs, present a serious challenge for system reliability and dependability. Once a program failure is observed, the debugging activities to locate the defects are typically nontrivial and time consuming. In this paper, we propose a novel automated approach to pin-point the root-causes of software failures. Our proposed approach consists of three steps. The first step is bug prediction, which leverages the existing work on anomaly-based bug detection as exceptional behavior during program execution has been shown to frequently point to the root cause of a software failure. The second step is bug isolation, which eliminates false-positive bug predictions by checking whether the dynamic forward slices of bug predictions lead to the observed program failure. The last step is bug validation, in which the isolated anomalies are validated by dynamically nullifying their effects and observing if the program still fails. The whole bug prediction, isolation and validation process is fully automated and can be implemented with efficient architectural support. Our experiments with 6 programs and 7 bugs, including a real bug in the gcc 2.95.2 compiler, show that our approach is highly effective at isolating only the relevant anomalies. Compared to state-of-art debugging techniques, our proposed approach pinpoints the defect locations more accurately and presents the user with a much smaller code set to analyze. Copyright © 2009 ACM.

Publication Date

3-1-2009

Publication Title

ACM SIGPLAN Notices

Volume

44

Issue

3

Number of Pages

61-72

Document Type

Article; Proceedings Paper

Personal Identifier

scopus

Socpus ID

67650792437 (Scopus)

Source API URL

https://api.elsevier.com/content/abstract/scopus_id/67650792437

This document is currently not available here.

Share

COinS