A Light-Weight Approach for Verifying Multi-Threaded Programs with CPAchecker

Dirk Beyer
(LMU Munich, Germany)
Karlheinz Friedberger
(University of Passau, Germany)

Verifying multi-threaded programs is becoming more and more important, because of the strong trend to increase the number of processing units per CPU socket. We introduce a new configurable program analysis for verifying multi-threaded programs with a bounded number of threads. We present a simple and yet efficient implementation as component of the existing program-verification framework CPAchecker. While CPAchecker is already competitive on a large benchmark set of sequential verification tasks, our extension enhances the overall applicability of the framework. Our implementation of handling multiple threads is orthogonal to the abstract domain of the data-flow analysis, and thus, can be combined with several existing analyses in CPAchecker, like value analysis, interval analysis, and BDD analysis. The new analysis is modular and can be used, for example, to verify reachability properties as well as to detect deadlocks in the program. This paper includes an evaluation of the benefit of some optimization steps (e.g., changing the iteration order of the reachability algorithm or applying partial-order reduction) as well as the comparison with other state-of-the-art tools for verifying multi-threaded programs.

In Jan Bouda, Lukáš Holík, Jan Kofroň, Jan Strejček and Adam Rambousek: Proceedings 11th Doctoral Workshop on Mathematical and Engineering Methods in Computer Science (MEMICS 2016), Telč, Czech Republic, 21st-23rd October 2016, Electronic Proceedings in Theoretical Computer Science 233, pp. 61–71.
Published: 13th December 2016.

ArXived at: https://dx.doi.org/10.4204/EPTCS.233.6 bibtex PDF
References in reconstructed bibtex, XML and HTML format (approximated).
Comments and questions to: eptcs@eptcs.org
For website issues: webmaster@eptcs.org