Efficient Testing of Concurrent Programs with Abstraction-Guided Symbolic Execution

  • Authors:
  • Neha Rungta;Eric G. Mercer;Willem Visser

  • Affiliations:
  • Dept. of Computer Science, Brigham Young University, Provo, USA 84602;Dept. of Computer Science, Brigham Young University, Provo, USA 84602;Division of Computer Science, University of Stellenbosh, South Africa

  • Venue:
  • Proceedings of the 16th International SPIN Workshop on Model Checking Software
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this work we present an abstraction-guided symbolic execution technique that quickly detects errors in concurrent programs. The input to the technique is a set of target locations that represent a possible error in the program. We generate an abstract system from a backward slice for each target location. The backward slice contains program locations relevant in testing the reachability of the target locations. The backward slice only considers sequential execution and does not capture any inter-thread dependencies. A combination of heuristics are to guide a symbolic execution along locations in the abstract system in an effort to generate a corresponding feasible execution trace to the target locations. When the symbolic execution is unable to make progress, we refine the abstraction by adding locations to handle inter-thread dependencies. We demonstrate empirically that abstraction-guided symbolic execution generates feasible execution paths in the actual system to find concurrency errors in a few seconds where exhaustive symbolic execution fails to find the same errors in an hour.