首页> 外文会议>19th Asia-Pacific Software Engineering Conference.;vol. 1. >Modular Heap Abstraction-Based Memory Leak Detection for Heap-Manipulating Programs
【24h】

Modular Heap Abstraction-Based Memory Leak Detection for Heap-Manipulating Programs

机译:基于模块化堆抽象的堆操作程序的内存泄漏检测

获取原文
获取原文并翻译 | 示例

摘要

Heap-manipulating programs allow flexible manipulations over dynamically allocated, shared, and mutable heap cells via pointers that point to not only linked data structures but also their pointer fields. Therefore, memory leak detection for these programs requires precise field-sensitive pointer alias information, which make the problem more challenging. In this paper, we present a field and context sensitive algorithm for detecting memory leaks in heap-manipulating programs. First, we propose a modular heap abstraction based on member-access distances and alias bit-vector domain as the escape model of each procedure, Then, based on procedural summaries characterized by this modular heap abstraction, an efficient context-sensitive memory leak detection is proposed in an on-demand way. Experimental evaluation about a set of large C benchmark programs shows that the proposed approach is scalable with satisfied precision as expected.
机译:堆操作程序允许通过不仅指向链接的数据结构而且还指向它们的指针字段的指针,对动态分配,共享和可变的堆单元进行灵活的操作。因此,这些程序的内存泄漏检测需要精确的字段敏感指针别名信息,这使问题更具挑战性。在本文中,我们提出了一种场和上下文敏感算法,用于检测堆操作程序中的内存泄漏。首先,我们提出一个基于成员访问距离和别名位向量域的模块化堆抽象作为每个过程的转义模型,然后,基于以该模块化堆抽象为特征的程序摘要,一种有效的上下文相关内存泄漏检测方法按需提出。对一组大型C基准程序的实验评估表明,所提出的方法可以按预期的精度进行扩展。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号