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

时态并发约束程序的抽象解释

Abstract Interpretation of Temporal Concurrent Constraint Programs

Moreno Falaschi, Carlos Olarte, Catuscia Palamidessi

摘要:

时间并发约束编程(Timed Concurrent Constraint Programming,tcc)是一种声明式的并发模型,提供了一种用于指定反应式系统(reactive systems)的逻辑,即与环境持续交互的系统。通用tcc形式主义(utcc)是tcc的扩展,具有表示移动性的能力。这里,移动性被理解为私有名称的通信,如通常针对移动系统和安全协议所做的。在本文中,我们考虑了tcc的指称语义,并将其扩展为基于约束序列上的闭包运算符的utcc的“收集”语义。依靠这种语义,我们形式化了一个通用框架的数据流分析的tcc和utcc程序的抽象解释技术。我们提出的具体和抽象语义是组合的,从而使我们能够减少数据流分析的复杂性。我们表明,我们的方法是健全的和参数的抽象域。因此,可以通过实例化框架来执行不同的分析。我们说明了如何可以重用抽象域先前定义的逻辑编程执行,例如,接地分析TCC程序。我们展示了这种分析在反应系统的背景下的适用性。此外,我们还利用抽象语义来展示一个安全协议中的秘密缺陷。我们还展示了如何有可能作出分析,这可能表明,tcc程序暂停免费。这对于多种用途都很有用,例如优化编译或调试。

英文摘要:

Timed Concurrent Constraint Programming (tcc) is a declarative model for concurrency offering a logic for specifying reactive systems, i.e. systems that continuously interact with the environment. The universal tcc formalism (utcc) is an extension of tcc with the ability to express mobility. Here mobility is understood as communication of private names as typically done for mobile systems and security protocols. In this paper we consider the denotational semantics for tcc, and we extend it to a "collecting" semantics for utcc based on closure operators over sequences of constraints. Relying on this semantics, we formalize a general framework for data flow analyses of tcc and utcc programs by abstract interpretation techniques. The concrete and abstract semantics we propose are compositional, thus allowing us to reduce the complexity of data flow analyses. We show that our method is sound and parametric with respect to the abstract domain. Thus, different analyses can be performed by instantiating the framework. We illustrate how it is possible to reuse abstract domains previously defined for logic programming to perform, for instance, a groundness analysis for tcc programs. We show the applicability of this analysis in the context of reactive systems. Furthermore, we make also use of the abstract semantics to exhibit a secrecy flaw in a security protocol. We also show how it is possible to make an analysis which may show that tcc programs are suspension free. This can be useful for several purposes, such as for optimizing compilation or for debugging.

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

↑