首页 | 本学科首页   官方微博 | 高级检索  
     

基于Linux的动态内存检测工具的设计与实现
引用本文:何杭军,朱利,李青山,谢海江.基于Linux的动态内存检测工具的设计与实现[J].计算机工程,2005,31(21):69-71.
作者姓名:何杭军  朱利  李青山  谢海江
作者单位:西安交通大学软件学院,西安,710049;西安交通大学软件学院,西安,710049;西安交通大学软件学院,西安,710049;西安交通大学软件学院,西安,710049
基金项目:国家“863”计划基金资助项目(2003AA1Z2610)
摘    要:内存的动态内存使用问题是C/C++程序员永远面临的问题。针对内存管理和使用的各类错误,设计并实现一个基于Linux的动态内存检测模块,可以对源码程序检测出内存泄漏、内存写溢出、“野指针”操作和内存管理函数的不匹配等问题。实验结果表明,系统具有效率高、易用性好的特点。

关 键 词:动态内存  内存泄漏  写溢出  野指针  不匹配
文章编号:1000-3428(2005)21-0069-03
收稿时间:2004-09-30
修稿时间:2004-09-30

Design and Realization of Dynamic Memory Detection Tool Based on Linux
HE Hangjun,ZHU Li,LI Qingshan,XIE Haijiang.Design and Realization of Dynamic Memory Detection Tool Based on Linux[J].Computer Engineering,2005,31(21):69-71.
Authors:HE Hangjun  ZHU Li  LI Qingshan  XIE Haijiang
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.
Keywords:Dynamic memory  Memory leak  Writing overflow  Wild pointer  Mismatch
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号