arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1206.3182cs.LOcs.PL
收藏

基于显式线程和符号线程的软件模型检验

Software Model Checking with Explicit Scheduler and Symbolic Threads

Alessandro Cimatti, Iman Narasamdya, Marco Roveri

摘要:

在许多实际的应用领域中,软件被组织成一组线程,其激活是排他性的,并由一个合作的调度策略控制:线程执行,没有任何中断,直到它们终止或明确地将控制权交给调度程序。这种软件的形式化验证提出了重大挑战。一方面,每个线程可能有无限的状态空间,并且可能需要抽象。另一方面,调度策略通常对于正确性很重要,并且基于抽象调度器的方法可能导致精度损失和误报。不幸的是,将问题转化为纯粹的顺序软件模型检验问题对于现有技术来说是非常低效的。我们提出了一种利用这些程序的内在结构的软件模型检验技术。每个线程都被转换成一个单独的顺序程序,并通过惰性抽象进行象征性的探索,而整体验证则由调度程序的直接执行来协调。该方法是通过过滤的探索调度器与偏序约简的集成优化。该技术,称为ESST(显式线程,符号线程)已实施和实验评估的一组重要的基准。结果表明,ESST技术是更有效的方式比软件模型检验应用于序列化程序,和偏序约简可以导致进一步的性能改善。

英文摘要:

In many practical application domains, the software is organized into a set of threads, whose activation is exclusive and controlled by a cooperative scheduling policy: threads execute, without any interruption, until they either terminate or yield the control explicitly to the scheduler. The formal verification of such software poses significant challenges. On the one side, each thread may have infinite state space, and might call for abstraction. On the other side, the scheduling policy is often important for correctness, and an approach based on abstracting the scheduler may result in loss of precision and false positives. Unfortunately, the translation of the problem into a purely sequential software model checking problem turns out to be highly inefficient for the available technologies. We propose a software model checking technique that exploits the intrinsic structure of these programs. Each thread is translated into a separate sequential program and explored symbolically with lazy abstraction, while the overall verification is orchestrated by the direct execution of the scheduler. The approach is optimized by filtering the exploration of the scheduler with the integration of partial-order reduction. The technique, called ESST (Explicit Scheduler, Symbolic Threads) has been implemented and experimentally evaluated on a significant set of benchmarks. The results demonstrate that ESST technique is way more effective than software model checking applied to the sequentialized programs, and that partial-order reduction can lead to further performance improvements.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑