Reachability and Safety Games under TSO Semantics (Extended Version)
Abstract
We consider games played on the transtion graph of concurrent programs running under the Total Store Order (TSO) weak memory model. Games are frequently used to model the interaction between a system and its environment, in this case between the concurrent processes and the nondeterminisitic TSO buffer updates. The game is played by two players, who alternatingly make a move: The process player can execute any enabled instruction of the processes, while the update player takes care of updating the messages in the buffers that are between each process andthe shared memory. We show that the reachability and safety problem of this game reduce to the analysis of single-process (non-concurrent) programs. In particular, they exhibit only finite-state behaviour. Because of this, we introduce different notions of fairness, which force the two players to behave in a more realistic way. Both the reachability and safety problem then become undecidable.
Keywords
Cite
@article{arxiv.2405.20804,
title = {Reachability and Safety Games under TSO Semantics (Extended Version)},
author = {Stephan Spengler},
journal= {arXiv preprint arXiv:2405.20804},
year = {2024}
}
Comments
22 pages, 8 figures, accepted and to be presented at GandALF 2024