TSO和PSO的无状态模型检验
Stateless Model Checking for TSO and PSO
摘要:
我们提出了一种技术,有效的无状态模型检验的程序下执行的宽松的内存模型TSO和PSO。我们的技术的基础是TSO和PSO下的执行的一种新的表示,称为时序跟踪。时序跟踪诱导放松内存执行的偏序关系,通过共享变量捕获表示交互所需的依赖关系。它们是最优的,因为它们只区分在Shasha和Snir广泛使用的表示下不等价的计算。这允许最优动态偏序约简算法探索最小数量的执行,同时仍然保证完全覆盖。我们应用我们的技术来检查,TSO和PSO内存模型下,LLVM汇编产生的C/pthreads程序。我们的实验表明,我们的技术减少了验证工作放松内存模型几乎是标准模型的顺序一致性。在许多情况下,我们的实现明显优于其他可比工具。
英文摘要:
We present a technique for efficient stateless model checking of programs that execute under the relaxed memory models TSO and PSO. The basis for our technique is a novel representation of executions under TSO and PSO, called chronological traces. Chronological traces induce a partial order relation on relaxed memory executions, capturing dependencies that are needed to represent the interaction via shared variables. They are optimal in the sense that they only distinguish computations that are inequivalent under the widely-used representation by Shasha and Snir. This allows an optimal dynamic partial order reduction algorithm to explore a minimal number of executions while still guaranteeing full coverage. We apply our techniques to check, under the TSO and PSO memory models, LLVM assembly produced for C/pthreads programs. Our experiments show that our technique reduces the verification effort for relaxed memory models to be almost that for the standard model of sequential consistency. In many cases, our implementation significantly outperforms other comparable tools.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。