arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1307.3189cs.PLcs.SE
收藏

框架推理中的变分演算

Alias and Change Calculi, Applied to Frame Inference

Alexander Kogtenkov, Bertrand Meyer, Sergey Velder

摘要:

程序分析判断程序中的两个表达式是否可以引用同一个对象,在程序构造和验证中有许多潜在的应用。我们已经开发了别名分析的理论,“别名演算”,实现了其应用程序的面向对象的语言,并集成到一个现代的IDE的结果。该演算比许多现有的别名分析技术具有更高的精度。主要应用之一是允许自动变化分析,这导致推断“修改条款”,为解决框架问题提供了重大进展。实验能够推断现有的正式指定的库的“修改”子句。其他应用,特别是并发编程,也是可能的。本文介绍了微积分及其在框架分析中的应用,包括实验结果,以及其它一些应用。目前正在进行的工作包括建立更有效的模型,捕捉别名属性和合理性证明其基本要素。

英文摘要:

Alias analysis, which determines whether two expressions in a program may reference to the same object, has many potential applications in program construction and verification. We have developed a theory for alias analysis, the "alias calculus", implemented its application to an object-oriented language, and integrated the result into a modern IDE. The calculus has a higher level of precision than many existing alias analysis techniques. One of the principal applications is to allow automatic change analysis, which leads to inferring "modifies clauses", providing a significant advance towards addressing the Frame Problem. Experiments were able to infer the "modifies" clauses of an existing formally specified library. Other applications, in particular to concurrent programming, also appear possible. The article presents the calculus, the application to frame analysis including ex-perimental results, and other projected applications. The ongoing work includes building more efficient model capturing aliasing properties and soundness proof for its essential elements.

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

↑