...
首页> 外文期刊>Theoretical computer science >Reachability-based acyclicity analysis by Abstract Interpretation
【24h】

Reachability-based acyclicity analysis by Abstract Interpretation

机译:基于抽象解释的基于可达性的非周期性分析

获取原文
获取原文并翻译 | 示例

摘要

In programming languages with dynamic use of memory, such as Java, knowing that a reference variable x points to an acyclic data structure is valuable for the analysis of termination and resource usage (e.g., execution time or memory consumption). For instance, this information guarantees that the depth of the data structure to which x points is greater than the depth of the data structure pointed to by x.f for any field f of x. This, in turn, allows bounding the number of iterations of a loop which traverses the structure by its depth, which is essential in order to prove the termination or infer the resource usage of the loop. The present paper provides an Abstract-Interpretation-based formalization of a static analysis for inferring acyclicity, which works on the reduced product of two abstract domains: reachability, which models the property that the location pointed to by a variable w can be reached by dereferencing another variable v (in this case, v is said to reach w); and cyclicity, modeling the property that v can point to a cyclic data structure. The analysis is proven to be sound and optimal with respect to the chosen abstraction.
机译:在诸如Java之类的具有动态使用内存的编程语言中,知道参考变量x指向非循环数据结构对于分析终止和资源使用情况(例如执行时间或内存消耗)非常有用。例如,此信息保证x指向的数据结构的深度大于x的任何字段f的x.f指向的数据结构的深度。反过来,这允许通过结构的深度限制遍历结构的循环的迭代次数,这对于证明终止或推断循环的资源使用情况至关重要。本文为推断非循环性提供了基于抽象解释的静态分析形式化方法,该方法适用于两个抽象域的简化乘积:可到达性,该模型可建模属性w所指向的位置可通过取消引用来实现另一个变量v(在这种情况下,v被称为达到w);和循环性,对v可以指向循环数据结构的属性进行建模。对于所选抽象,分析被证明是合理且最佳的。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号