一种Linux下动态内存泄漏检测技术的实现  被引量:1

Realization of dynamic memory leak detection technology under Linux

在线阅读下载全文

作  者:刘明[1] 戎蒙恬[1] 郭芬[1] 程曼丽[1] 

机构地区:[1]上海交通大学电子工程系,上海200030

出  处:《信息技术》2007年第9期29-32,共4页Information Technology

摘  要:内存泄漏是软件开发中经常遇到的问题。在使用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.

关 键 词:内存泄漏 代码插装 共享库注射 ptrace系统调用 

分 类 号:TP306[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象