首页> 外文会议>International Conference on Computer Aided Verification >Effective Program Verification for Relaxed Memory Models
【24h】

Effective Program Verification for Relaxed Memory Models

机译:对轻松内存模型的有效计划验证

获取原文
获取外文期刊封面目录资料

摘要

Program verification for relaxed memory models is hard. The high degree of nondeterminism in such models challenges standard verification techniques. This paper proposes a new verification technique for the most common relaxation, store buffers. Crucial to this technique is the observation that all programmers, including those who use low-lock techniques for performance, expect their programs to be sequentially consistent. We first present a monitor algorithm that can detect the presence of program executions that are not sequentially consistent due to store buffers while only exploring sequentially consistent executions. Then, we combine this monitor with a stateless model checker that verifies that every sequentially consistent execution is correct. We have implemented this algorithm in a prototype tool called Sober and present experiments that demonstrate the precision and scalability of our method. We find relaxed memory model bugs in several programs, including two previously unknown bugs in a production-level concurrency library that would have been difficult to find by other means.
机译:对轻松内存模型的程序验证很难。在这些模型中的高度不确定挑战标准验证技术。本文提出了一种新的验证技术,用于最常见的放松,商店缓冲区。对这种技术至关重要的是观察到所有程序员,包括使用低锁技术进行性能的程序员,期望他们的程序顺序一致。我们首先介绍一个监视算法,可以检测由于存储缓冲区而不顺序一致的程序执行的存在,同时仅探索顺序一致的执行。然后,我们将此监视器与无状态模型检查器组合,该检查器验证每个顺序一致执行是否正确。我们在称为清醒的原型工具中实现了该算法,并显示了展示了我们方法的精度和可扩展性的实验。我们在几个程序中找到了轻松的记忆模型错误,包括在生产级并发库中的两个先前未知的错误,这是难以找到的其他方式。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号