Synchronisation- and reversal-bounded analysis of multithreaded programs with counters

  • Authors:
  • Matthew Hague;Anthony Widjaja Lin

  • Affiliations:
  • LIGM, Université Paris-Est, France, LIAFA, Université Paris Diderot & CNRS, France, Department of Computer Science, Oxford University;Department of Computer Science, Oxford University

  • Venue:
  • CAV'12 Proceedings of the 24th international conference on Computer Aided Verification
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

We study a class of concurrent pushdown systems communicating by both global synchronisations and reversal-bounded counters, providing a natural model for multithreaded programs with procedure calls and numeric data types. We show that the synchronisation-bounded reachability problem can be efficiently reduced to the satisfaction of an existential Presburger formula. Hence, the problem is NP-complete and can be tackled with efficient SMT solvers such as Z3. In addition, we present optimisations to make our reduction practical, e.g., heuristics for removing or merging transitions in our models. We provide optimised algorithms and a prototypical implementation of our results and perform preliminary experiments on examples derived from real-world problems.