Using likely invariants for automated software fault localization

  • Authors:
  • Swarup Kumar Sahoo;John Criswell;Chase Geigle;Vikram Adve

  • Affiliations:
  • University of Illinois, Urbana-Champaign, IL, USA;University of Illinois, Urbana-Champaign, IL, USA;University of Illinois, Urbana-Champaign, IL, USA;University of Illinois, Urbana-Champaign, IL, USA

  • Venue:
  • Proceedings of the eighteenth international conference on Architectural support for programming languages and operating systems
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

We propose an automatic diagnosis technique for isolating the root cause(s) of software failures. We use likely program invariants, automatically generated using correct inputs that are close to the fault-triggering input, to select a set of candidate program locations which are possible root causes. We then trim the set of candidate root causes using software-implemented dynamic backwards slicing, plus two new filtering heuristics: dependence filtering, and filtering via multiple failing inputs that are also close to the failing input. Experimental results on reported software bugs of three large open-source servers show that we are able to narrow down the number of candidate bug locations to between 5 and 17 program expressions, even in programs that are hundreds of thousands of lines long.