The Decidability of Verification under PS 2.0


연구 분야: Verification



학회: European Symposium on Programming


초록

We consider the reachability problem for finite-state multi-threaded programs under the promising semantics (PS 2.0) of Lee et al., which captures most common program transformations. Since reachability is already known to be undecidable in the fragment of PS 2.0 with only release-acquire accesses (PS 2.0-ra), we consider the fragment with only relaxed accesses and promises (PS 2.0-rlx). We show that reachability under PS 2.0-rlx 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 PS 2.0 (with relaxed and release-acquire memory accesses along with promises) to a program under SC, thereby reducing the bounded reachability problem under PS 2.0 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.


Author Profile
Viktor Vafeiadis

MPI-SWS Kaiserslautern Germany

Germany
Author Profile
Parosh Aziz Abdulla

Uppsala University Uppsala Sweden

Sweden
Author Profile
Mohamed Faouzi Atig

Uppsala University Uppsala Sweden

Sweden

📄 논문 정보

발행 연도 2021년
인용수 0
출판 국가 Germany, India, Sweden
사이트 Springer
좋아요 수 0

연관 논문 목록 (5건)