Source Sets

Author:

Abdulla Parosh Aziz1,Aronis Stavros1,Jonsson Bengt1,Sagonas Konstantinos1

Affiliation:

1. Uppsala University, Uppsala, Sweden

Abstract

Stateless model checking is a powerful method for program verification that, however, suffers from an exponential growth in the number of explored executions. A successful technique for reducing this number, while still maintaining complete coverage, is Dynamic Partial Order Reduction (DPOR), an algorithm originally introduced by Flanagan and Godefroid in 2005 and since then not only used as a point of reference but also extended by various researchers. In this article, we present a new DPOR algorithm, which is the first to be provably optimal in that it always explores the minimal number of executions. It is based on a novel class of sets, called source sets , that replace the role of persistent sets in previous algorithms. We begin by showing how to modify the original DPOR algorithm to work with source sets, resulting in an efficient and simple-to-implement algorithm, called source-DPOR . Subsequently, we enhance this algorithm with a novel mechanism, called wakeup trees , that allows the resulting algorithm, called optimal-DPOR , to achieve optimality. Both algorithms are then extended to computational models where processes may disable each other, for example, via locks. Finally, we discuss tradeoffs of the source- and optimal-DPOR algorithm and present programs that illustrate significant time and space performance differences between them. We have implemented both algorithms in a publicly available stateless model checking tool for Erlang programs, while the source-DPOR algorithm is at the core of a publicly available stateless model checking tool for C/pthread programs running on machines with relaxed memory models. Experiments show that source sets significantly increase the performance of stateless model checking compared to using the original DPOR algorithm and that wakeup trees incur only a small overhead in both time and space in practice.

Funder

Linnaeus centre of excellence UPMARC

EU FP7 STREP project RELEASE

Swedish Research Council

Publisher

Association for Computing Machinery (ACM)

Subject

Artificial Intelligence,Hardware and Architecture,Information Systems,Control and Systems Engineering,Software

Reference41 articles.

1. Stateless Model Checking for TSO and PSO

2. Joe Armstrong. 2010. Erlang. Commun. ACM 539 (Sept. 2010). 68--75. 10.1145/1810891.1810910 Joe Armstrong. 2010. Erlang. Commun. ACM 539 (Sept. 2010). 68--75. 10.1145/1810891.1810910

3. On Using Erlang for Parallelization

4. Systematic Testing for Detecting Concurrency Errors in Erlang Programs

5. Automatic verification of finite state concurrent system using temporal logic specifications

Cited by 29 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Depth-First Net Unfoldings and Equivalent Reduction;Symmetry;2023-09-16

2. Dynamic Partial Order Reduction for Checking Correctness against Transaction Isolation Levels;Proceedings of the ACM on Programming Languages;2023-06-06

3. A Pragmatic Approach to Stateful Partial Order Reduction;Lecture Notes in Computer Science;2023

4. Tailoring Stateless Model Checking for Event-Driven Multi-threaded Programs;Automated Technology for Verification and Analysis;2023

5. Overcoming Memory Weakness with Unified Fairness;Computer Aided Verification;2023

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3