Verification of Concurrent Programs on Weak Memory Models
Verification of Concurrent Programs on Weak Memory Models
复制标题
弱内存模型上的并发程序验证
DOI:
10.1007/978-3-319-46750-4_1
复制
发表时间:
2016
期刊:
影响因子:
--
通讯作者:
Heike Wehrheim
中科院分区:
文献类型:
--
作者:
Oleg Travkin;Heike Wehrheim
Modern multi-core processors equipped with weak memory models seemingly reorder instructions (with respect to program order) due to built-in optimizations. For concurrent programs, weak memory models thereby produce interleaved executions which are impossible on sequentially consistent (SC) memory. Verification of concurrent programs consequently needs to take the memory model of the executing processor into account. This, however, makes most standard software verification tools inapplicable.In this paper, we propose a technique (and present its accompanying toolWeak2SC) forreducingthe verification problem for weak memory models to the verification on SC. The reduction proceeds by generating – out of a given program and weak memory model (here, TSO or PSO) – a new program containing all reorderings, thus already exhibiting the additional interleavings on SC. Our technique iscompositionalin the sense that program generation can be carried out on single processes without ever needing to inspect the state space of the concurrent program. We formally prove compositionality as well as soundness of our technique.Weak2SCtakes standard C programs as input and produces program descriptions which can be fed into automatic model checking tools (like SPIN) as well as into interactive provers (like KIV). Thereby, we allow for a wide range of verification options. We demonstrate the effectiveness of our technique by evaluatingWeak2SCon a number of example programs, ranging from concurrent data structures to software transactional memory algorithms.
登录
查看更多内容
DOI:
10.1007/978-3-642-14052-5_28
发表时间:
2010
期刊:
Physical review. E
影响因子:
--
作者:
Ernie Cohen;Norbert Schirmer
通讯作者:
Norbert Schirmer
DOI:
10.1007/978-3-642-16164-3_16
发表时间:
2010
期刊:
bioRxiv
影响因子:
--
作者:
A. Linden;P. Wolper
通讯作者:
P. Wolper
DOI:
10.1007/978-3-319-13338-6_11
发表时间:
2014
期刊:
Concurrency and Computation: Practice and Experience
影响因子:
--
作者:
Oleg Travkin;H. Wehrheim
通讯作者:
H. Wehrheim
DOI:
10.1007/978-3-540-70545-1_12
发表时间:
2008-07
期刊:
--
影响因子:
--
作者:
S. Burckhardt;M. Musuvathi
通讯作者:
S. Burckhardt;M. Musuvathi
DOI:
10.1007/s10009-014-0308-3
发表时间:
2015-11-01
影响因子:
1.5
作者:
Ernst, Gidon;Pfaehler, Joerg;Reif, Wolfgang
通讯作者:
Reif, Wolfgang