Back to Search Start Over

Verification under Intel-x86 with Persistency

Authors :
Abdulla, Parosh
Atig, Mohamed Faouzi
Bouajjani, Ahmed
Kumar, K. Narayan
Saivasan, Prakash
Abdulla, Parosh
Atig, Mohamed Faouzi
Bouajjani, Ahmed
Kumar, K. Narayan
Saivasan, Prakash
Publication Year :
2024

Abstract

The full semantics of the Intel-x86 architecture has been defined by Raad et al in POPL 2022, extending the earlier formalization based on the TSO memory model incorporating persistency. This new semantics involves an intricate combination of the SC, TSO, and PSO models to account for the diverse features of the enlarged instruction set. In this paper we investigate the reachability problem under this semantics, including both its consistency and persistency aspects each of which requires reasoning about unbounded operation reorderings. Our first contribution is to show that reachability under this model can be reduced to reachability under a model without the persistency component. This is achieved by showing that the persistency semantics can be simulated by a finite-state protocol running in parallel with the program. Our second contribution is to prove that reachability under the consistency model of Intel-x86 (even without crashes and persistency) is undecidable. Undecidability is obtained as soon as one thread in the program is allowed to use both TSO variables and two PSO variables. The third contribution is showing that for any fixed bound on the alternation between TSO writes (write-backs), and PSO writes (non-temporal writes), the reachability problem is decidable. This defines a complete parametrized schema for under-approximate analysis that can be used for bug finding.

Details

Database :
OAIster
Notes :
application/pdf, English
Publication Type :
Electronic Resource
Accession number :
edsoai.on1457291988
Document Type :
Electronic Resource
Full Text :
https://doi.org/10.1145.3656425