计算机科学 ›› 2010, Vol. 37 ›› Issue (6): 171-175.
• 软件工程 • 上一篇 下一篇
叶俊民,魏鹏,金聪,王敬华,张清国,张维
出版日期:
发布日期:
基金资助:
YE Jun-min,WEI Peng,JIN Cong,WANG Jing-hua,ZHANG Qing-guo,ZHANG Wei
Online:
Published:
摘要: 目前研究人员主要采用静态测试技术实施对内存泄漏故障的检测,其基本思想就是依据待测程序的控制流图来设计特定的算法以检测内存泄漏问题,但这些方法的不足之处主要是控制流图的表示方式上未含有进一步可用信息,因此所设计的算法不能很好地执行该故障的检测任务。为此,定义了一种用于内存泄漏故障检测的控制流图,提出控制流图可达路径生成算法,然后根据生成的路径进行内存泄漏故障的检测与分析。实验证实,该方法取得了理想的效果。
关键词: 内存泄漏,故障检测,控制流图,故障模型,静态分析技术
Abstract: Recent researches detect memory leaks mainly through static test methods. The basic idea is to detect memory leaks by designing specific algorithm based on the control flow graph of program to be tested, but the limitations of these methods are that control flow graph doesn't contain useful information for further use, so that designed algorithms can't detect memory leaks efficiently. We defined a control flow graph for detecting memory leaks and proposed control flow graph reachable paths generating algorithm to detect and analyze memory leaks for generated paths. This method was proved by experiments to be very effective.
Key words: Memory leaks, Faults detect, Control flow graph, Fault model, Static analyses techniques
叶俊民,魏鹏,金聪,王敬华,张清国,张维. 内存泄漏故障静态分析研究[J]. 计算机科学, 2010, 37(6): 171-175. https://doi.org/
YE Jun-min,WEI Peng,JIN Cong,WANG Jing-hua,ZHANG Qing-guo,ZHANG Wei. Static Analysis of Memory Leak Fault[J]. Computer Science, 2010, 37(6): 171-175. https://doi.org/
0 / / 推荐
导出引用管理器 EndNote|Reference Manager|ProCite|BibTeX|RefWorks
链接本文: https://www.jsjkx.com/CN/
https://www.jsjkx.com/CN/Y2010/V37/I6/171
Cited