首页> 外文OA文献 >Verifying multi-threaded software using SMT-based context-bounded model checking
【2h】

Verifying multi-threaded software using SMT-based context-bounded model checking

机译:使用基于smT的上下文绑定模型检查来验证多线程软件

代理获取
本网站仅为用户提供外文OA文献查询和代理获取服务,本网站没有原文。下单后我们将采用程序或人工为您竭诚获取高质量的原文,但由于OA文献来源多样且变更频繁,仍可能出现获取不到、文献不完整或与标题不符等情况,如果获取不到我们将提供退款服务。请知悉。

摘要

We describe and evaluate three approaches to model check multi-threaded software with shared variables and locks using bounded model checking based on Satisfiability Modulo Theories (SMT) and our modelling of the synchronization primitives of the Pthread library. In the lazy approach, we generate all possible interleavings and call the SMT solver on each of them individually, until we either find a bug, or have systematically explored all interleavings. In the schedule recording approach, we encode all possible interleavings into one single formula and then exploit the high speed of the SMT solvers. In the underapproximation and widening approach, we reduce the state space by abstracting the number of interleavings from the proofs of unsatisfiability generated by the SMT solvers. In all three approaches, we bound the number of context switches allowed among threads in order to reduce the number of interleavings explored. We implemented these approaches in ESBMC, our SMT-based bounded model checker for ANSI-C programs. Our experiments show that ESBMC can analyze larger problems and substantially reduce the verification time compared to state-of-the-art techniques that use iterative context-bounding algorithms or counter-example guided abstraction refinement.
机译:我们描述和评估了三种基于共享模块和锁的模型检查多线程软件的方法,这些方法基于可满足性模理论(SMT)和我们对Pthread库的同步原语的建模,使用有界模型检查。在惰性方法中,我们生成所有可能的交织,并分别对每个交织调用SMT求解器,直到发现错误或系统地研究了所有交织为止。在进度记录方法中,我们将所有可能的交织编码为一个公式,然后利用SMT求解器的高速特性。在欠逼近和扩展方法中,我们通过从SMT求解器生成的不满足性证明中抽象出交织的数量来减少状态空间。在所有这三种方法中,我们都限制了线程之间允许的上下文切换的数量,以减少探索的交错数量。我们在ESBMC(用于ANSI-C程序的基于SMT的有界模型检查器)中实现了这些方法。我们的实验表明,与使用迭代上下文边界算法或反示例指导抽象提炼的最新技术相比,ESBMC可以分析更大的问题并大大减少验证时间。

著录项

  • 作者

    Cordeiro Lucas; Fischer Bernd;

  • 作者单位
  • 年度 2011
  • 总页数
  • 原文格式 PDF
  • 正文语种 {"code":"en","name":"English","id":9}
  • 中图分类

相似文献

  • 外文文献
  • 中文文献
  • 专利
代理获取

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号