A Dynamic Pushdown Network (DPN) is a set of pushdown systems (PDSs) where each process can dynamically create new instances of PDSs. DPNs are a natural model of multi-threaded programs with (possibly recursive) procedure calls and thread creation. Extension of DPNs with locks allows processes to synchronize via locks. Thus, DPNs with locks are a well adapted formalism to model multi-threaded programs that synchronize via locks. Therefore, it is important to have model-checking algorithms for DPNs with locks. However, in general, the model-checking problem of DPNs with locks against reachability properties, and hence Linear Temporal Logic (LTL), is undecidable. To obtain de-cidable results, we study in this work the model-checking problem of DPNs with well-nested locks against single-indexed Linear Temporal Logic (LTL) properties of the form E f i s.t. f i is a LTL formula interpreted over the PDS i. We show that this model-checking problem is decidable. We propose an automata-based approach for computing the set of configurations of a DPN with locks that satisfy the corresponding single-indexed LTL formula.
展开▼
机译:动态下推网络(DPN)是一组下推系统(PDS),其中每个进程可以动态创建新的PDS实例。 DPN是具有(可能是递归的)过程调用和线程创建的多线程程序的自然模型。带锁的DPN扩展允许进程通过锁进行同步。因此,带锁的DPN是一种很好的形式化模型,用于建模通过锁同步的多线程程序。因此,具有带锁的DPN的模型检查算法很重要。但是,总的来说,具有锁定可达性属性的DPN的模型检查问题是不确定的,因此无法确定线性时态逻辑(LTL)。为了获得可确定的结果,我们在这项工作中研究了具有良好嵌套锁的DPN的模型检查问题,该问题与E f i s.t形式的单索引线性时态逻辑(LTL)属性有关。 f i是在PDS i上解释的LTL公式。我们证明这个模型检查问题是可以确定的。我们提出了一种基于自动机的方法来计算具有满足相应单索引LTL公式的锁的DPN的配置集。
展开▼