Effective Stateless Model Checking for C/C++ Concurrency
Effective Stateless Model Checking for C/C++ Concurrency
复制标题
DOI:
10.1145/3158105
复制
发表时间:
2018-01-01
影响因子:
1.8
通讯作者:
Vafeiadis, Viktor
中科院分区:
文献类型:
--
作者:
Kokologiannakis, Michalis;Lahav, Ori;Vafeiadis, Viktor
We present a stateless model checking algorithm for verifying concurrent programs running under RC11, a repaired version of the C/C++11 memory model without dependency cycles. Unlike most previous approaches, which enumerate thread interleavings up to sonic partial order reduction improvements, our approach works directly on execution graphs and (in the absence of RMW instructions and SC atomics) avoids redundant exploration by construction. We have implemented a model checker, called RCMC, based on this approach and applied it to a number of challenging concurrent programs. Our experiments confirm that RCMC is significantly faster, scales better than other model checking tools, and is also more resilient to small changes in the benchmarks.