摘要
内存泄露是一种常见的系统安全问题。虚拟技术是云计算的关键技术,虚拟机环境下的内存泄露不容忽视。而基于虚拟机的内存泄露检测技术尚未成熟。分析虚拟机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.
出处
《计算机应用与软件》
CSCD
北大核心
2012年第9期10-13,153,共5页
Computer Applications and Software
基金
国家自然科学基金项目(90818012)
"核高基"国家科技重大专项(2010ZX01036-001-002)
中国科学院知识创新工程重要方向项目(KGCX2-YW-125)
关键词
内存泄露
安全检测
虚拟机
XEN
Memory leak, Security detection ,Virtual machine, Xen