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

一种基于CPAcecker的轻量级多线程程序编译方法

A Light-Weight Approach for Verifying Multi-Threaded Programs with CPAchecker

Dirk Beyer, Karlheinz Friedberger

摘要:

由于增加每个CPU插槽的处理单元数量的强烈趋势,因此多线程程序变得越来越重要。我们介绍了一种新的可配置的程序分析验证多线程程序的线程数有限。我们提出了一个简单而有效的实现现有的程序验证框架CPAchecker的组成部分。虽然CPAchecker已经在一个大型的基准集的顺序验证任务的竞争力,我们的扩展增强了框架的整体适用性。我们处理多线程的实现与数据流分析的抽象域是正交的,因此,可以与CPAcchecker中的几种现有分析相结合,如值分析,区间分析和BDD分析。新的分析是模块化的,可以用来,例如,验证可达性属性以及检测程序中的死锁。本文包括一些优化步骤的效益评估(例如,改变可达性算法的迭代顺序或应用偏序约简)以及与用于验证多线程程序的其它现有技术工具的比较。

英文摘要:

Verifying multi-threaded programs is becoming more and more important, because of the strong trend to increase the number of processing units per CPU socket. We introduce a new configurable program analysis for verifying multi-threaded programs with a bounded number of threads. We present a simple and yet efficient implementation as component of the existing program-verification framework CPAchecker. While CPAchecker is already competitive on a large benchmark set of sequential verification tasks, our extension enhances the overall applicability of the framework. Our implementation of handling multiple threads is orthogonal to the abstract domain of the data-flow analysis, and thus, can be combined with several existing analyses in CPAchecker, like value analysis, interval analysis, and BDD analysis. The new analysis is modular and can be used, for example, to verify reachability properties as well as to detect deadlocks in the program. This paper includes an evaluation of the benefit of some optimization steps (e.g., changing the iteration order of the reachability algorithm or applying partial-order reduction) as well as the comparison with other state-of-the-art tools for verifying multi-threaded programs.

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

↑