首页> 外文期刊>Electronic Notes in Theoretical Computer Science >A Modular Static Analysis Approach to Affine Loop Invariants Detection
【24h】

A Modular Static Analysis Approach to Affine Loop Invariants Detection

机译:仿射环不变性检测的模块化静态分析方法

获取原文
           

摘要

Modular static analyzers use procedure abstractions, a.k.a. summarizations, to ensure that their execution time increases linearly with the size of analyzed programs. A similar abstraction mechanism is also used within a procedure to perform a bottom-up analysis. For instance, a sequence of instructions is abstracted by combining the abstractions of its components, or a loop is abstracted using the abstraction of its loop body: fixed point iterations for a loop can be replaced by a direct computation of the transitive closure of the loop body abstraction.More specifically, our abstraction mechanism uses affine constraints, i.e. polyhedra, to specify pre- and post-conditions as well as state transformers. We present an algorithm to compute the transitive closure of such a state transformer, and we illustrate its performance on various examples. Our algorithm is simple, based on discrete differentiation and integration: it is very different from the usual abstract interpretation fixed point computation based on widening. Experiments are carried out using previously published examples. We obtain the same results directly, without using any heuristic.
机译:模块化静态分析器使用过程抽象(也称为摘要)来确保其执行时间随所分析程序的大小线性增加。过程中还使用了类似的抽象机制来执行自下而上的分析。例如,通过组合其组件的抽象来抽象指令序列,或者使用其循环主体的抽象来抽象循环:循环的定点迭代可以由循环的传递闭包的直接计算来代替身体抽象。更具体地说,我们的抽象机制使用仿射约束(即多面体)来指定前置条件和后置条件以及状态转换器。我们提出一种算法来计算这种状态转换器的传递闭合,并在各种示例中说明其性能。我们的算法很简单,基于离散微分和积分:与通常的基于加宽的抽象解释定点计算有很大不同。使用以前发布的示例进行实验。我们无需使用任何启发式方法即可直接获得相同的结果。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号