首页> 外文OA文献 >Grid domains for analysing software
【2h】

Grid domains for analysing software

机译:用于软件分析的网格域

摘要

Static analysis is the determination of correct though approximate information about the be- haviour of a system, this approach is used to detect and locate programming errors or to certify the absence of such bugs. Abstract interpretation is a static program analysis method that uses abstract domains to provide a convenient but approximate representation of the accumulated in- formation during the evaluation of a program. The focus of this thesis is to investigate numerical abstract domains that capture the distribution or patterns of values the program properties can take. There has already been a considerable amount of research into numerical abstract domains and a wide variety of such domains have been specified each providing a different degree of pre- cision and efficiency. For instance the domain of convex polyhedra is precise but has exponential complexity while the interval or box domain is much less precise but has linear complexity. Note that these domains do not capture the distribution information which is the focus of this thesis. In the first part of this thesis we introduce the domain of grids. This domain interprets the patterns of distribution of the values that the program properties can take. The complete grid domain can interpret the relationships which hold between variables or properties in a program. There are two representations that form the two components of a double description method similar to that provided for convex polyhedra. This thesis gives algorithms and methods for computing canonical forms, conversion between the descriptions and the main abstract operations needed for software analysis, such as comparison, intersection, join, difference, affine image and pre-image. Also included is a widening operation and we show that all of these operations have polynomial complexity. In the second part of this thesis we consider the partially reduced product of two numerical domains. The partially reduced product allows a choice of interaction between the component domains ranging from “do nothing” required by the direct product to a total reduction required by the reduced product. We consider the partially reduced product where the components are those of the grid domain with either the convex polyhedra domain or one of its sub-domains, specifi- cally the boxes, bounded difference shapes and octagon domains. The “weakly tight product” is introduced, an operation that ensures each constraint of the polyhedral representation intersects a point of the grid, and the “tight product”, which ensures each constraint of the polyhedral rep- resentation intersects a point of the grid-polyhedron. We provide an algorithm to compute the weakly tight product and show for what circumstances this algorithm achieves stronger results, so that the resulting grid-polyhedron is either a tight or a reduced product. Methods for test- ing if a grid-polyhedron is empty as well as several useful operations on grid-polyhedra are also described.
机译:静态分析是确定有关系统行为的正确但近似的信息,该方法用于检测和定位编程错误或证明不存在此类错误。抽象解释是一种静态的程序分析方法,该方法使用抽象域在程序评估过程中提供方便但近似的累积信息表示。本文的重点是研究数字抽象域,这些域捕获程序属性可以采用的值的分布或模式。已经对数字抽象领域进行了大量研究,并且已经指定了各种各样的此类领域,每个领域都提供了不同程度的精度和效率。例如,凸多面体的域是精确的,但是具有指数复杂性,而区间或盒域的精确度要低得多,但是具有线性复杂性。注意,这些域没有捕获分布信息,这是本文的重点。在本文的第一部分,我们介绍了网格的领域。该域解释程序属性可以采用的值的分布模式。完整的网格域可以解释程序中变量或属性之间的关系。有两种表示形式构成了双重说明方法的两个组成部分,类似于为凸多面体提供的表示。本文给出了用于计算规范形式,描述之间的转换以及软件分析所需的主要抽象操作(例如比较,交集,合并,差异,仿射图像和原图像)的算法和方法。还包括加宽运算,我们证明所有这些运算都具有多项式复杂性。在本文的第二部分中,我们考虑了两个数值域的部分归约乘积。部分还原的产物允许选择组分域之间的相互作用,范围从直接产物所需的“什么都不做”到还原产物所需的总还原。我们考虑部分缩减的乘积​​,其中分量是具有凸多面体域或其子域之一的网格域的那些,具体来说是方框,有界差形状和八边形域。引入“弱紧乘积”,确保多面体表示的每个约束与网格的一个点相交的操作,以及“紧乘积”,确保多面体表示的每个约束与网格的一个点相交-多面体。我们提供了一种算法来计算弱紧的乘积,并说明该算法在什么情况下可以获得更强的结果,从而使生成的网格多面体成为紧的或缩减的乘积​​。还介绍了测试网格多面体是否为空的方法,以及对网格多面体进行的几种有用操作。

著录项

  • 作者

    Dobson Katy Louise;

  • 作者单位
  • 年度 2008
  • 总页数
  • 原文格式 PDF
  • 正文语种 English
  • 中图分类

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号