节点文献

动态内存错误的静态检测

Static Detection to Dynamic Memory Errors

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 张广梅李晓维

【Author】 Zhang Guangmei 1,2,3) Li Xiaowei 1) 1)(Information Network Laboratory, Institute of Computing Technology, Chinese Academy of Sciences, Beijing 100080) 2)(College of Information Science and Engineering, Shandong Agriculture University, Tai’an 271018) 3)(Graduate School of the Chinese Academy of Sciences, Beijing 100039)

【机构】 中国科学院计算技术研究所信息网络室中国科学院计算技术研究所信息网络室 北京100080山东农业大学信息科学与工程学院泰安271018中国科学院研究生院北京100039北京100080

【摘要】 内存泄漏、空指针引用等动态内存错误在C ,C ++等支持动态内存操作的程序中普遍存在 在程序中 ,动态内存管理错误是导致动态内存错误的根本原因 动态内存错误的静态检测方法是在对程序进行静态分析的基础上 ,应用路径别名分析方法 ,确定动态内存变量之间存在的过程内和过程间的路径别名关系 ,在此基础上对程序中违反动态内存管理模式的动态内存操作进行分析 ,以确定程序中存在的动态内存错误

【Abstract】 There are many dynamic memory management errors in programs written by languages that support dynamic memory operation such as C, C++. There will be dynamic memory errors if some dynamic memory management default exists in a program. On the static analysis of programs, by using the path alias analysis discussed in this paper, the path alias relations of dynamic memory variables within a procedure and between procedures can be detected, then the alias set can be made. Under this condition, the states that disobey the dynamic memory management style can be found, and the dynamic memory errors can be detected.

【基金】 国家自然科学基金重点项目 (90 2 0 70 12 );总装备部预研究项目 (4 13 15 0 5 0 10 2 )
  • 【文献出处】 计算机辅助设计与图形学学报 ,Journal of Computer Aided Design & Computer Graphics , 编辑部邮箱 ,2005年03期
  • 【分类号】TP311
  • 【被引频次】16
  • 【下载频次】281
节点文献中: 

本文链接的文献网络图示:

本文的引文网络