一种基于虚拟机的动态内存泄露检测方法  被引量:4

A VIRTUAL MACHINE-BASED DETECTION METHOD FOR DYNAMIC MEMORY LEAK

在线阅读下载全文

作  者:蔡志强[1,2] 丁丽萍[1] 贺也平[1] 

机构地区:[1]中国科学院软件研究所基础软件国家工程研究中心,北京100190 [2]中国科学院研究生院,北京100190

出  处:《计算机应用与软件》2012年第9期10-13,153,共5页Computer Applications and Software

基  金:国家自然科学基金项目(90818012);"核高基"国家科技重大专项(2010ZX01036-001-002);中国科学院知识创新工程重要方向项目(KGCX2-YW-125)

摘  要:内存泄露是一种常见的系统安全问题。虚拟技术是云计算的关键技术,虚拟机环境下的内存泄露不容忽视。而基于虚拟机的内存泄露检测技术尚未成熟。分析虚拟机Xen内核源码中与内存分配有关的代码,提出一种动态检测虚拟机中内存泄露的方法。该方法记录应用程序对资源的申请、释放以及使用情况,插入监测代码,最终检测出内存泄露的代码。实验结果表明,该方法能够有效地检测Xen虚拟机中的内存泄露。Memory leak is a common problem of system security.Virtualisation is a key technology for the cloud computing in which the memory leak detection can't be ignored.However the virtual machine-based memory leak detection technique has not been mature yet.In this paper we analyse the codes pertinent to memory allocation in source code of Xen Virtual Machine's kernel,and present a method to dynamically detect the memory leak problem in virtual machine.The method records the resources application,release and use of the application programs.By injecting monitoring code,we succeed in detecting the code of memory leak eventually.Experimental results show that,the method in this paper can effectively detect the memory leak problem of Xen Virtual Machine.

关 键 词:内存泄露 安全检测 虚拟机 XEN 

分 类 号:TP312[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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