Armada: Automated Verification of Concurrent Code with Sound Semantic Extensibility

Author:

Lorch Jacob R.1ORCID,Chen Yixuan2ORCID,Kapritsos Manos3,Ma Haojun3ORCID,Parno Bryan4,Qadeer Shaz5,Sharma Upamanyu6,Wilcox James R.7,Zhao Xueyuan4

Affiliation:

1. Microsoft Research, Redmond, WA, USA

2. Yale University, New Haven, CT, USA

3. University of Michigan, Ann Arbor, MI, USA

4. Carnegie Mellon University, PA, USA

5. Calibra, Bellevue, WA, USA

6. Massachusetts Institute of Technology, Cambridge, MA, USA

7. Certora, Seattle, WA, USA

Abstract

Safely writing high-performance concurrent programs is notoriously difficult. To aid developers, we introduce Armada, a language and tool designed to formally verify such programs with relatively little effort. Via a C-like language and a small-step, state-machine-based semantics, Armadagives developers the flexibility to choose arbitrary memory layout and synchronization primitives so that they are never constrained in their pursuit of performance. To reduce developer effort, Armadaleverages SMT-powered automation and a library of powerful reasoning techniques, including rely-guarantee, TSO elimination, reduction, and pointer analysis. All of these techniques are proven sound, and Armadacan be soundly extended with additional strategies over time. Using Armada, we verify five concurrent case studies and show that we can achieve performance equivalent to that of unverified code.

Funder

National Science Foundation

National Science Foundation and VMware

Alfred P. Sloan Foundation

Google Faculty Fellowship

Publisher

Association for Computing Machinery (ACM)

Subject

Software

Reference47 articles.

1. The existence of refinement mappings

2. Sarita V. Adve and Mark D. Hill. 1990. Weak ordering—a new definition. In Proceedings of International Symposium on Computer Architecture (ISCA’90). 2–14.

3. Boogie: A modular reusable verifier for object-oriented programs;Barnett Mike;Proceedings of Formal Methods for Components and Objects (FMCO’05).,2005

4. Formal Verification of a C Compiler Front-End

5. Relaxed memory models

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

1. Galápagos: Developing Verified Low Level Cryptography on Heterogeneous Hardwares;Proceedings of the 2023 ACM SIGSAC Conference on Computer and Communications Security;2023-11-15

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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