首页> 外文会议>International Conference on Progress in Informatics and Computing >A Novel Memory Leak Classification for Evaluating the Applicability of Static Analysis Tools
【24h】

A Novel Memory Leak Classification for Evaluating the Applicability of Static Analysis Tools

机译:一种用于评估静态分析工具适用性的新型内存泄漏分类

获取原文

摘要

Memory leaks in software have proved to be widespread in C programs. Much research has been done to analyze and detect memory leaks statically. However, due to the complexity and variety of memory leak vulnerabilities, it is difficult to propose a static method that can detect all kinds of memory leaks. In this paper, we propose a method to investigate the applicability of static analysis tools to detect various kinds of memory leaks. We first divide memory leak vulnerabilities into 11 categories, from the perspectives of heap memory behaviors and program structures. According to this classification, we design and implement a pattern-based system to generate a program dataset named HPMD (Heap Program Memory Dataset) that contains a variety of memory leaks. Experiments on open source repositories show that compared with existing datasets, HPMD can evaluate current tools in terms of their ability to detect various kinds of memory leaks, and can recommend reasonable tools given a specific program.
机译:软件中的内存泄漏已证明在C程序中很普遍。已经进行了大量研究来静态地分析和检测内存泄漏。但是,由于内存泄漏漏洞的复杂性和多样性,很难提出一种可以检测各种内存泄漏的静态方法。在本文中,我们提出了一种方法来研究静态分析工具对检测各种内存泄漏的适用性。从堆内存行为和程序结构的角度来看,我们首先将内存泄漏漏洞分为11类。根据此分类,我们设计并实现基于模式的系统,以生成名为HPMD(堆程序内存数据集)的程序数据集,其中包含各种内存泄漏。开源存储库上的实验表明,与现有数据集相比,HPMD可以根据其检测各种内存泄漏的能力来评估当前工具,并可以针对特定程序推荐合理的工具。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号