首页> 外文会议>Automated reasoning >Checking Array Bounds by Abstract Interpretation and Symbolic Expressions
【24h】

Checking Array Bounds by Abstract Interpretation and Symbolic Expressions

机译:通过抽象解释和符号表达式检查数组边界

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

摘要

Array access out of bounds is a typical programming error. From the '70s, static analysis has been used to identify where such errors actually occur at runtime, through abstract interpretation into linear constraints. However, feasibility and scalability to modern object-oriented code has not been established yet. This article builds on previous work on linear constraints and shows that the result does not scale, when polyhedra implement the linear constraints, while the more abstract zones scale to the analysis of medium-size applications. Moreover, this article formalises the inclusion of symbolic expressions in the constraints and shows that this improves its precision. Expressions are automatically selected on-demand. The resulting analysis applies to code with dynamic memory allocation and arrays held in expressions. It is sound, also in the presence of arbitrary side-effects. It is fully defined in the abstract interpretation framework and does not use any code instrumentation. Its proof of correctness, its implementation inside the commercial Julia analyzer and experiments on third-party code complete the work.
机译:数组访问超出范围是典型的编程错误。从70年代开始,通过对线性约束的抽象解释,静态分析已被用于识别此类错误在运行时实际发生的位置。但是,尚未建立对现代面向对象代码的可行性和可伸缩性。本文基于先前关于线性约束的工作,表明当多面体实现线性约束时结果不会缩放,而更抽象的区域可扩展到中型应用程序的分析。此外,本文将符号表达式包含在约束中形式化,并表明这提高了其精度。表达式是按需自动选择的。结果分析适用于具有动态内存分配和表达式中包含的数组的代码。声音还存在任意副作用。它在抽象解释框架中完全定义,并且不使用任何代码工具。它的正确性证明,其在商业Julia分析仪中的实现以及对第三方代码的实验均完成了这项工作。

著录项

  • 来源
    《Automated reasoning》|2018年|706-722|共17页
  • 会议地点 Oxford(GB)
  • 作者

    Etienne Payet; Fausto Spoto;

  • 作者单位

    Laboratoire d'Informatique et de Mathematiques, Universite de la Reunion, Saint-Denis, France;

    Dipartimento di Informatica, Universita di Verona, Verona, Italy;

  • 会议组织
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号