Title
Flow-Sensitive Fault Localization
Abstract
Identifying the cause of an error is often the most time-consuming part in program debugging. Fault localization techniques can help to automate this task. Particularly promising are static proof-based techniques that rely on an encoding of error traces into trace formulas. By identifying irrelevant portions of the trace formula, the possible causes of the error can be isolated. One limitation of these approaches is that they do not take into account the control flow of the program and therefore miss common causes of errors, such as faulty branching conditions. This limitation is inherent to the way the error traces are encoded. In this paper, we present a new flow-sensitive encoding of error traces into trace formulas. The new encoding enables proof-based techniques to identify irrelevant conditional choices in an error trace and to include a justification for the truth value of branching conditions that are relevant for the localized cause of an error. We apply our new encoding to the fault localization technique based on error invariants and show that it produces more meaningful error explanations than previous approaches.
Year
DOI
Venue
2013
10.1007/978-3-642-35873-9_13
VERIFICATION, MODEL CHECKING, AND ABSTRACT INTERPRETATION (VMCAI 2013)
Field
DocType
Volume
Model checking,Computer science,Truth value,Flow (psychology),Control flow,Algorithm,Theoretical computer science,Invariant (mathematics),Debugging,Encoding (memory),Branching (version control)
Conference
7737
ISSN
Citations 
PageRank 
0302-9743
9
0.48
References 
Authors
14
4
Name
Order
Citations
PageRank
Jürgen Christ1865.58
Evren Ermis2252.91
Martin Schäf313514.71
Thomas Wies451528.26