Litcius/Paper detail

The Decidability of Verification under PS 2.0

Parosh Aziz Abdulla, Mohamed Faouzi Atig, Adwait Godbole, Shankara Narayanan Krishna, Viktor Vafeiadis

2021Lecture notes in computer science12 citationsDOIOpen Access PDF

Abstract

Abstract We consider the reachability problem for finite-state multi-threaded programs under the promising semantics () of Lee et al., which captures most common program transformations. Since reachability is already known to be undecidable in the fragment of with only release-acquire accesses (-), we consider the fragment with only relaxed accesses and promises (). We show that reachability under is undecidable in general and that it becomes decidable, albeit non-primitive recursive, if we bound the number of promises. Given these results, we consider a bounded version of the reachability problem. To this end, we bound both the number of promises and of “ view-switches ”, i.e., the number of times the processes may switch their local views of the global memory. We provide a code-to-code translation from an input program under (with relaxed and release-acquire memory accesses along with promises) to a program under SC, thereby reducing the bounded reachability problem under to the bounded context-switching problem under SC. We have implemented a tool and tested it on a set of benchmarks, demonstrating that typical bugs in programs can be found with a small bound.

Topics & Concepts

Undecidable problemReachabilityDecidabilityReachability problemComputer scienceBounded functionFragment (logic)Theoretical computer scienceContext (archaeology)Upper and lower boundsSet (abstract data type)Discrete mathematicsAlgorithmProgramming languageMathematicsPaleontologyMathematical analysisBiologySecurity and Verification in ComputingDistributed systems and fault toleranceFormal Methods in Verification
The Decidability of Verification under PS 2.0 | Litcius