节点文献
基于Linux的动态内存检测工具的设计与实现
Design and Realization of Dynamic Memory Detection Tool Based on Linux
【摘要】 内存的动态内存使用问题是C/C++程序员永远面临的问题。针对内存管理和使用的各类错误,设计并实现一个基于Linux的动态内存检测模块,可以对源码程序检测出内存泄漏、内存写溢出、“野指针”操作和内存管理函数的不匹配等问题。实验结果表明,系统具有效率高、易用性好的特点。
【Abstract】 The dynamic memory management usage is a forever problem to C/C++ programmers.For all sorts of errors of dynamic memory usage,a dynamic memory detection module based on Linux is designed and implemented,which can detect memory leak,writing overflow,manipulation of wild pointer and mismatching usage of memory functions.Experiment results present that this tool has a high effectiveness and is easy to be used.
【关键词】 动态内存;
内存泄漏;
写溢出;
野指针;
不匹配;
【Key words】 Dynamic memory; Memory leak; Writing overflow; Wild pointer; Mismatch;
【Key words】 Dynamic memory; Memory leak; Writing overflow; Wild pointer; Mismatch;
【基金】 国家“863”计划基金资助项目(2003AA1Z2610)
- 【文献出处】 计算机工程 ,Computer Engineering , 编辑部邮箱 ,2005年21期
- 【分类号】TP311.52
- 【被引频次】11
- 【下载频次】218