作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

›› 2004, Vol. 30 ›› Issue (20): 42-44.

• 论文 • 上一篇    下一篇

基于开放编译器的内存泄漏检测机制

孙青岩,陈平   

  1. 西安电子科技大学软件工程研究所,西安电子科技大学软件工程研究所 西安 710071
  • 发布日期:2004-10-25

A Memory Leak Detection Mechanism Based on Open Compiler Techniques

SUN Qingyan,CHEN Ping   

  1. (Institute of Software Engineering, Xidian University, Xi'an 710071)
  • Published:2004-10-25

摘要: 内存泄漏是程序设计中经常出现的问题,会降低系统性能,甚至耗尽内存空间导致系统崩溃。文章采用反射和开放编译技术,对开放编译器OpenC++进行了扩展与改进,设计并实现了一个C/C++动态内存泄漏检测工具,以帮助开发和测试人员查找内存泄漏。

关键词: 反射, 开放编译器, 内存泄漏

Abstract: As a problem that frequently occurrs in programming, memory leak may slow program execution and cause system crash by running out of memory. In this paper, a dynamic memory leak detector for C or C++ program based on the techniques of reflection and open compiler is designed and implemented ,to help engineers find memory leaks.

中图分类号: