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

面向对象语言的基于表达式的别名

Expression-based aliasing for OO-languages

Georgiana Caltais

摘要:

在程序的验证和优化中,可重用性分析一直是一个有趣的研究课题。确定程序中的两个表达式是否可以引用同一对象的不可判定性是别名分析中提出的挑战的主要来源。在本文中,我们提出了一个扩展以前介绍的别名演算程序表达式的基础上,设置无界程序执行s.a.无限循环和递归调用。此外,我们设计了相应的可执行规范的K-框架。我们的扩展的一个重要属性是,在非并发设置中,相应的别名表达式可以在正则表达式的概念方面过度近似。这进一步使我们能够表明,相关的K机器实现了一种算法,该算法总是停止并提供“可能混叠”信息的合理过度近似,其中合理性代表缺乏假阴性。作为一个案例研究,我们分析了别名演算在SCOOP中的集成和进一步的应用。后者是一种面向对象的并发编程模型,最近在Maude中正式化; K定义可以编译到Maude中执行。

英文摘要:

Alias analysis has been an interesting research topic in verification and optimization of programs. The undecidability of determining whether two expressions in a program may reference to the same object is the main source of the challenges raised in alias analysis. In this paper we propose an extension of a previously introduced alias calculus based on program expressions, to the setting of unbounded program executions s.a. infinite loops and recursive calls. Moreover, we devise a corresponding executable specification in the K-framework. An important property of our extension is that, in a non-concurrent setting, the corresponding alias expressions can be over-approximated in terms of a notion of regular expressions. This further enables us to show that the associated K-machinery implements an algorithm that always stops and provides a sound over-approximation of the "may aliasing" information, where soundness stands for the lack of false negatives. As a case study, we analyze the integration and further applications of the alias calculus in SCOOP. The latter is an object-oriented programming model for concurrency, recently formalized in Maude; K-definitions can be compiled into Maude for execution.

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

↑