arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2107.02346cs.PL
收藏

发布-获取并发的线程模块化分析

Thread-modular Analysis of Release-Acquire Concurrency

Divyanjali Sharma, Subodh Sharma

摘要:

我们提出了一个线程模块化的抽象解释(TMAI)技术来验证程序下的释放获取(RA)的内存模型的安全属性侵犯。我们的工作的主要贡献是:我们捕获的程序语句的执行顺序作为一个抽象的域,并提出了一个健全的上近似在这个域有效地原因RA并发。所提出的域在其应用中是通用的,并且捕获了作为抽象解释理论中的第一类特征的排序关系。特别地,域将并发程序中全局变量的修改序列的集合表示为偏序集合。在这种近似下,全局变量的较旧的sequenced-before存储被遗忘,并且仅保留每个变量的最新存储。我们建立我们提出的抽象的合理性,并在一个原型抽象解释器PRIORI中实现它们。PRIORI对现有的和具有挑战性的RA基准的评估表明,所提出的技术不仅在反驳方面具有竞争力,而且在验证方面也具有竞争力。与最近最先进的RA并发工具相比,PRIORI显示出更高的精度和更快的分析运行时间。

英文摘要:

We present a thread-modular abstract interpretation(TMAI) technique to verify programs under the release-acquire (RA) memory model for safety property violations. The main contributions of our work are: we capture the execution order of program statements as an abstract domain, and propose a sound upper approximation over this domain to efficiently reason over RA concurrency. The proposed domain is general in its application and captures the ordering relations as a first-class feature in the abstract interpretation theory. In particular, the domain represents a set of sequences of modifications of a global variable in concurrent programs as a partially ordered set. Under this approximation, older sequenced-before stores of a global variable are forgotten and only the latest stores per variable are preserved. We establish the soundness of our proposed abstractions and implement them in a prototype abstract interpreter called PRIORI. The evaluations of PRIORI on existing and challenging RA benchmarks demonstrate that the proposed technique is not only competitive in refutation, but also in verification. PRIORI shows significantly fast analysis runtimes with higher precision compared to recent state-of-the-art tools for RA concurrency.

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

↑