Concurrent software verification with states, events, and deadlocks

Author:

Chaki Sagar1,Clarke Edmund2,Ouaknine Joël3,Sharygina Natasha12,Sinha Nishant2

Affiliation:

1. Software Engineering Institute, Carnegie Mellon University, Pittsburgh, USA

2. Computer Science Department, Carnegie Mellon University, Pittsburgh, USA

3. Oxford University Computing Laboratory, Oxford, UK

Abstract

Abstract We present a framework for model checking concurrent software systems which incorporates both states and events. Contrary to other state/event approaches, our work also integrates two powerful verification techniques, counterexample-guided abstraction refinement and compositional reasoning. Our specification language is a state/event extension of linear temporal logic, and allows us to express many properties of software in a concise and intuitive manner. We show how standard automata-theoretic LTL model checking algorithms can be ported to our framework at no extra cost, enabling us to directly benefit from the large body of research on efficient LTL verification. We also present an algorithm to detect deadlocks in concurrent message-passing programs. Deadlock- freedom is not only an important and desirable property in its own right, but is also a prerequisite for the soundness of our model checking algorithm. Even though deadlock is inherently non-compositional and is not preserved by classical abstractions, our iterative algorithm employs both (non-standard) abstractions and compositional reasoning to alleviate the state-space explosion problem. The resulting framework differs in key respects from other instances of the counterexample-guided abstraction refinement paradigm found in the literature. We have implemented this work in the magic verification tool for concurrent C programs and performed tests on a broad set of benchmarks. Our experiments show that this new approach not only eases the writing of specifications, but also yields important gains both in space and in time during verification. In certain cases, we even encountered specifications that could not be verified using traditional pure event-based or state-based approaches, but became tractable within our state/event framework. We also recorded substantial reductions in time and memory consumption when performing deadlock-freedom checks with our new abstractions. Finally, we report two bugs (including a deadlock) in the source code of Micro-C/OS versions 2.0 and 2.7, which we discovered during our experiments.

Publisher

Association for Computing Machinery (ACM)

Subject

Theoretical Computer Science,Software

Reference62 articles.

1. [ABB] ABB website. http://www.abb.com

2. [BLAST] BLAST website. http://www-cad.eecs.berkeley.edu/∼rupak/blast

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

1. Approximate verification of concurrent systems using token structures and invariants;International Journal on Software Tools for Technology Transfer;2022-04-07

2. A thread synchronization model for the PREEMPT_RT Linux kernel;Journal of Systems Architecture;2020-08

3. Efficient Verification of Concurrent Systems Using Synchronisation Analysis and SAT/SMT Solving;ACM Transactions on Software Engineering and Methodology;2019-08-17

4. Efficient verification of concurrent systems using local-analysis-based approximations and SAT solving;Formal Aspects of Computing;2019-06

5. Untangling the Intricacies of Thread Synchronization in the PREEMPT_RT Linux Kernel;2019 IEEE 22nd International Symposium on Real-Time Distributed Computing (ISORC);2019-05

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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