Anomaly-based bug prediction, isolation, and validation
Authors:
Open Access
- 28 February 2009
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM SIGPLAN Notices
- Vol. 44 (3) , 61-72
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.Keywords
This publication has 37 references indexed in Scilit:
- Raksha2007
- Locating faulty code using failure-inducing chops2005
- Locating causes of program failures2005
- Cost effective dynamic program slicing2004
- Fault localization with nearest neighbor queries2004
- Isolating cause-effect chains from computer programs2002
- Simplifying and isolating failure-inducing inputIEEE Transactions on Software Engineering, 2002
- Dynamically discovering likely program invariants to support program evolutionIEEE Transactions on Software Engineering, 2001
- EraserACM Transactions on Computer Systems, 1997
- Dynamic program slicingInformation Processing Letters, 1988