摘要
内存泄漏是软件开发中经常遇到的问题。在使用C/C++开发的大型软件中,内存泄漏往往很难发现。现介绍了一种基于动态代码插装技术的内存泄漏检测器的实现方法。该方法在实践中证明简单易用,对软件运行期内的影响较低。
Memory leak is a common problem in C/C ++ programs. Some leaks are hard to be found and takes a lot of time for the developer to debug and fLx. This paper describes the implementation of a tool which can detect memory leaks for a program at runtime. With this tool, a program which is already loaded and running can be monitored at runtime. There is no need to do any modification to the program. It is useful for programs running for longtime and cannot be interrupted.
出处
《信息技术》
2007年第9期29-32,共4页
Information Technology