Lazy sequentialization for TSO and PSO via shared memory abstractions
- 1 October 2016
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 193-200
Abstract
Lazy sequentialization is one of the most effective approaches for the bounded verification of concurrent programs. Existing tools assume sequential consistency (SC), thus the feasibility of lazy sequentializations for weak memory models (WMMs) remains untested. Here, we describe the first lazy sequentialization approach for the total store order (TSO) and partial store order (PSO) memory models. We replace all shared memory accesses with operations on a shared memory abstraction (SMA), an abstract data type that encapsulates the semantics of the underlying WMM and implements it under the simpler SC model. We give efficient SMA implementations for TSO and PSO that are based on temporal circular doubly-linked lists, a new data structure that allows an efficient simulation of the store buffers. We show experimentally, both on the SV-COMP concurrency benchmarks and a real world instance, that this approach works well in combination with lazy sequentialization on top of bounded model checking.Keywords
This publication has 25 references indexed in Scilit:
- Lazy-CSeq: A Context-Bounded Model Checking Tool for Multi-threaded C-Programs2015
- CIVL: Formal Verification of Parallel Programs2015
- Dynamic partial order reduction for relaxed memory models2015
- On Partial Order Semantics for SAT/SMT-Based Symbolic Encodings of Weak Memory Concurrency2015
- Automating Software Analysis at Large Scale2014
- Bounded Model Checking of Multi-threaded C Programs via Lazy Sequentialization2014
- CSeq: A concurrency pre-processor for sequential C verification tools2013
- SafeStack: Automatically Patching Stack-Based Buffer Overflow VulnerabilitiesIEEE Transactions on Dependable and Secure Computing, 2013
- Reducing concurrent analysis under a context bound to sequential analysisFormal Methods in System Design, 2009
- Reducing Context-Bounded Concurrent Reachability to Sequential Reachability2009