Symbolic Counter Abstraction for Concurrent Software

  • Authors:
  • Gérard Basler;Michele Mazzucchi;Thomas Wahl;Daniel Kroening

  • Affiliations:
  • Computer Systems Institute, ETH Zurich, Switzerland;Computer Systems Institute, ETH Zurich, Switzerland;Computer Systems Institute, ETH Zurich, Switzerland and Computing Laboratory, Oxford University, United Kingdom;Computer Systems Institute, ETH Zurich, Switzerland and Computing Laboratory, Oxford University, United Kingdom

  • Venue:
  • CAV '09 Proceedings of the 21st International Conference on Computer Aided Verification
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

The trend towards multi-core computing has made concurrent software an important target of computer-aided verification. Unfortunately, Model Checkers for such software suffer tremendously from combinatorial state space explosion. We show how to apply counter abstraction to real-world concurrent programs to factor out redundancy due to thread replication. The traditional global state representation as a vector of local states is replaced by a vector of thread counters, one per local state. In practice, straightforward implementations of this idea are unfavorably sensitive to the number of local states. We present a novel symbolic exploration algorithm that avoids this problem by carefully scheduling which counters to track at any moment during the search. Our experiments are carried out on Boolean programs, an abstraction promoted by the Slam project. To our knowledge, this marks the first application of counter abstraction to programs with non-trivial local state spaces, and results in the first scalable Model Checker for concurrent Boolean programs.