arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2401.10423cs.FLcs.PL
收藏

无限数据域下 TSO 的验证

Verification under TSO with an infinite Data Domain

Parosh Aziz Abdulla, Mohamed Faouzi Atig, Florian Furbach, Shashwat Garg

AI总结:

本文研究无限数据域 x86 TSO 并发程序的控制状态可达性,证明一般情形不可判定,并提出上下文有界下近似,证明其为 PSPACE 完全。

摘要:

我们考察在 x86 架构所采用的总存储顺序(TSO)语义下并发程序的验证问题。在我们的模型中,线程操作取值于无限域的变量,并且它们可以针对一系列关系检查变量之间是否具有关联。我们证明,一般而言,控制状态可达性问题是不可判定的。该结果通过从带数据的有损通道系统的状态可达性问题(已知该问题不可判定)进行归约得到。鉴于这一不可判定性,我们将注意力转向可达性问题的一个更易处理的变体。具体而言,我们研究上下文有界运行,该方法通过限制进程之间可能的交互,对程序行为提供一种下近似。一次运行由若干上下文组成,每个上下文表示一段只有单个指定线程处于活动状态的步骤序列。我们证明,在有界上下文切换下的控制状态可达性问题是 PSPACE 完全的。

英文摘要:

We examine verification of concurrent programs under the total store ordering (TSO) semantics used by the x86 architecture. In our model, threads manipulate variables over infinite domains and they can check whether variables are related for a range of relations. We show that, in general, the control state reachability problem is undecidable. This result is derived through a reduction from the state reachability problem of lossy channel systems with data (which is known to be undecidable). In the light of this undecidability, we turn our attention to a more tractable variant of the reachability problem. Specifically, we study context bounded runs, which provide an under-approximation of the program behavior by limiting the possible interactions between processes. A run consists of a number of contexts, with each context representing a sequence of steps where a only single designated thread is active. We prove that the control state reachability problem under bounded context switching is PSPACE complete.

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

↑