首页> 外文会议>ACM SIGPLAN-SIGSOFT workshop on Program analysis for software tools and engineering >Detecting memory errors via static pointer analysis (preliminary experience)
【24h】

Detecting memory errors via static pointer analysis (preliminary experience)

机译:通过静态指针分析检测内存错误(初步经验)

获取原文

摘要

Programs which manipulate pointers are hard to debug. Pointer analysis algorithms (originally aimed at optimizing compilers) may provide some remedy by identifying potential errors such as dereferencing NULL pointers by statically analyzing the behavior of programs on all their input data.Our goal is to identify the "core program analysis techniques" that can be used when developing realistic tools which detect memory errors at compile time without, generating too many false alarms. Our preliminary experience indicates that the following techniques are necessary: (i) finding aliases between pointers, (ii) flow sensitive techniques that account, for the program control flow constructs. (iii) partial interpretation of conditional statements, (iv) analysis of the relationships between pointers, and sometimes (v) analysis of the underlying data structures manipulated by the C program.We show that a combination of these techniques can yield better results than those achieved by state of the art tools.Yet it is not clear to us whether our ideas are applicable to large programs.
机译:操纵指针的程序很难调试。指针分析算法(最初旨在优化编译器)可以通过识别潜在错误(例如通过对所有输入数据上的程序的行为进行静态分析来对NULL指针进行反引用)提供一些补救措施。我们的目标是确定可以在开发现实的工具时使用,该工具在编译时检测内存错误而不会产生太多的错误警报。我们的初步经验表明,以下技术是必要的:(i)在指针之间找到别名,(ii)考虑程序控制流构造的流敏感技术。 (iii)对条件语句的部分解释,(iv)指针之间的关系的分析,以及有时(v)对C程序操纵的基础数据结构的分析。我们证明,结合使用这些技术可以产生比那些更好的结果。通过最先进的工具实现。但是,我们尚不清楚我们的想法是否适用于大型程序。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号