期刊文献+

动态内存错误的静态检测 被引量:3

Static Detection to Dynamic Memory Errors
下载PDF
导出
摘要 内存泄漏、空指针引用等动态内存错误在C ,C ++等支持动态内存操作的程序中普遍存在 在程序中 ,动态内存管理错误是导致动态内存错误的根本原因 动态内存错误的静态检测方法是在对程序进行静态分析的基础上 ,应用路径别名分析方法 ,确定动态内存变量之间存在的过程内和过程间的路径别名关系 ,在此基础上对程序中违反动态内存管理模式的动态内存操作进行分析 。 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.
出处 《计算机辅助设计与图形学学报》 EI CSCD 北大核心 2005年第3期400-406,共7页 Journal of Computer-Aided Design & Computer Graphics
基金 国家自然科学基金重点项目 (90 2 0 70 12 ) 总装备部预研究项目 (4 13 15 0 5 0 10 2 )
关键词 动态内存错误 路径别名分析 稀疏控制流图 程序调用图 dynamic memory error path alias analysis sparse control flow graph procedure call graph
  • 相关文献

参考文献15

  • 1Murray William H, Pappas Chris H. Microsoft C/C++: The Complete Reference-[M]. San Francisco, California: McGraw-Hill, 1992
  • 2Lee Woo Hyong, Chang Morris, Hasan Yusuf. A dynamic memory measuring tool for C++ programs-[A]. In: IEEE Application-Specific Systems and Engineering Technology Symposium, Richardson Texas, 2000. 155~163
  • 3Heine David L, Lam Monica S. A practical flow sensitive and context sensitive C and C++ memory leak detector-[J]. ACM SIGPLAN Notices, 2003, 38(5): 168~181
  • 4Austin Todd M, Breach Scott E, Sohi Gurindar S. Efficient detection of all pointer and array access errors-[J]. ACM SIGPLAN Notices, 1994, 29(6): 290~301
  • 5Hastings R, Joyce B. Purify: Fast detection of memory leaks and access errors-[A]. In: Winter Usenix Conference, San Francisco, California, 1992. 125~136
  • 6Hallem S, Chelf B, Xie Y, et al. A system and language for building system-specific, static analyses-[J]. ACM SIGPLAN Notices, 2002, 37(5): 69~82
  • 7Evans David. Static detection of dynamic memory errors-[J]. ACM SIGPLAN Notices, 1996, 31(5): 44~52
  • 8Austin Todd M, Breach Scott E, Sohi Gurindar S. Efficient detection of all pointer and array access errors-[J]. ACM SIGPLAN Notices, 1994, 29(6): 290~301
  • 9Bush W R, Pincus J D, Sielaff D J. A static analyzer for finding dynamic programming errors-[J]. Software: Practice and Experience, 2000, 30(7): 775~802
  • 10Hind Michael, Burke Michael. Inter-procedural pointer alias analysis-[J]. ACM Transaction on Programming Languages and System, 1999, 21(4): 848~894

同被引文献25

引证文献3

二级引证文献11

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部