首页> 外文会议>International conference on formal methods for industrial critical systems >The Quest for Optimality in Stateless Model Checking of Concurrent Programs
【24h】

The Quest for Optimality in Stateless Model Checking of Concurrent Programs

机译:并发程序无状态模型检查中的最优性追求

获取原文

摘要

Testing and verification of concurrent programs is hard, as it requires reasoning about all the ways in which operations executed by different processes (or threads) can interfere. Model checking [7, 16] addresses this problem by systematically exploring the state space of a given program and verifying that each reachable state satisfies a given property. A problem in applying model checking to realistic programs is to capture and storing a large number of global states. Two approaches for coping with this problem are abstraction and stateless model checking. Abstraction techniques construct a sound overapproximation ofthe state-transition graph, which can then be tractably analyzed. A pioneering work by Graf and Saidi [12] showed how infinite-state systems can be automatically verified in this way. Stateless model checking (SMC) [11] explores the state space of the program without explicitly storing global states. The technique requires taking control of the scheduler and subsequently executing the program multiple times, each time imposing a different scheduling of the processes. By considering every process at every execution step, however, the number of possible schedulings grows exponentially wrt. the total length of program execution. Consequently, a number of techniques for reducing this number, without unnecessarily sacrificing coverage, have been developed. The most prominent is Partial order reduction (POR) [8, 10, 15, 17], adapted to SMC as Dynamic POR (DPOR) [9], which exploits the fact that schedulings with the same ordering of dependent operations can be regarded as belonging to the same equivalence class (sometimes called a Mazurkiewicz trace), and that it is sufficient to explore one of them. In recent years, several techniques have been develop that further increase the efficiency of stateless model checking. One approach has been to develop techniques that are optimal in the sense that they explore exactly one scheduling in each Mazurkiewicz trace [2]. Corresponding minimization techniques for classical (stateful) model checking were pioneered by Graf and Steffen [13]. Other approaches are based on the observation that the notion of Mazurkiewicz trace is unnecessarily refined for the purpose of determining the outcome of a program scheduling. Hence, coarser equivalences have been defined: e.g., based on mapping each read operation to the corresponding write operation that produces its value [6, 14]. For such coarser equivalences, the question of developing optimal exploration algorithms becomes interesting. In this presentation, we will survey some recent developments and results for making stateless model checking more efficient, also considering different memory models for concurrency [1, 3, 5, 4]. It builds on joint work with Parosh Aziz Abdulla, Stavros Aronis, Mohamed Faouzi Atig, Carl Leonardsson, Magnus Ling, Tuan Phong Ngo, and Konstantinos Sagonas.
机译:并发程序的测试和验证非常困难,因为它需要推理不同进程(或线程)执行的操作可能会干扰的所有方式。模型检查[7,16]通过系统地探索给定程序的状态空间并验证每个可到达状态满足给定属性来解决此问题。将模型检查应用于实际程序的一个问题是捕获和存储大量全局状态。解决此问题的两种方法是抽象和无状态模型检查。抽象技术构造了状态转换图的声音过度逼近,然后可以对其进行轻松地分析。 Graf和Saidi [12]的开创性工作表明,如何以这种方式自动验证无限状态系统。无状态模型检查(SMC)[11]在不显式存储全局状态的情况下探索了程序的状态空间。该技术需要控制调度程序并随后多次执行程序,每次都对进程施加不同的调度。然而,通过考虑每个执行步骤的每个过程,可能的调度数量成倍增加。程序执行的总长度。因此,已经开发了许多在不不必要地牺牲覆盖范围的情况下减少该数目的技术。最突出的是部分订单减少(POR)[8、10、15、17],适用于SMC,称为动态POR(DPOR)[9],它利用了这样的事实,即具有相同顺序的从属操作可以被视为属于相同的等价类(有时称为Mazurkiewicz迹线),因此探索其中一个就足够了。近年来,已经开发了几种技术,这些技术进一步提高了无状态模型检查的效率。一种方法是开发最佳技术,从某种意义上说,它们在每个Mazurkiewicz轨迹中精确地探索一种调度方式[2]。 Graf和Steffen率先提出了用于经典(有状态)模型检查的相应最小化技术[13]。其他方法基于这样的观察,即为了确定程序调度的结果,对Mazurkiewicz轨迹的概念进行了不必要的改进。因此,例如,基于将每个读取操作映射到产生其值[6、14]的相应写入操作,已定义了较粗的等效项。对于这样的较粗等价物,开发最佳勘探算法的问题变得很有趣。在本演示中,我们将调查一些最新的进展和结果,以使无状态模型检查更加有效,并考虑并发性的不同内存模型[1、3、5、4]。它建立在与Parosh Aziz Abdulla,Stavros Aronis,Mohamed Faouzi Atig,Carl Leonardsson,Magnus Ling,Tuan Phong Ngo和Konstantinos Sagonas的合作基础之上。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号