C/ c++中内存泄漏的检测

Rahul Jain, Raksha Agrawal, Riyanshi Gupta, Rajat Kumar Jain, Neha Kapil, Ankit Saxena
{"title":"C/ c++中内存泄漏的检测","authors":"Rahul Jain, Raksha Agrawal, Riyanshi Gupta, Rajat Kumar Jain, Neha Kapil, Ankit Saxena","doi":"10.1109/SCEECS48394.2020.32","DOIUrl":null,"url":null,"abstract":"Memory leaks are one of the main reasons for Software Aging. Irrespective of recent countermeasures in C/C++ such as smart pointers, leak-related issues remain a troublesome issue in C/C++ code. We propose an algorithm for automatic detection of memory leaks in C/C++ programs based on solving disjoint sets of graphs which comprises of memory objects as nodes and their references as edges in order to find the memory leaks within the application. For this an object database and structure database is created and MLD algorithm is applied. Thus, it helps in keeping a record of memory leaks in the application.","PeriodicalId":167175,"journal":{"name":"2020 IEEE International Students' Conference on Electrical,Electronics and Computer Science (SCEECS)","volume":"221 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-02-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Detection of Memory Leaks in C/C++\",\"authors\":\"Rahul Jain, Raksha Agrawal, Riyanshi Gupta, Rajat Kumar Jain, Neha Kapil, Ankit Saxena\",\"doi\":\"10.1109/SCEECS48394.2020.32\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Memory leaks are one of the main reasons for Software Aging. Irrespective of recent countermeasures in C/C++ such as smart pointers, leak-related issues remain a troublesome issue in C/C++ code. We propose an algorithm for automatic detection of memory leaks in C/C++ programs based on solving disjoint sets of graphs which comprises of memory objects as nodes and their references as edges in order to find the memory leaks within the application. For this an object database and structure database is created and MLD algorithm is applied. Thus, it helps in keeping a record of memory leaks in the application.\",\"PeriodicalId\":167175,\"journal\":{\"name\":\"2020 IEEE International Students' Conference on Electrical,Electronics and Computer Science (SCEECS)\",\"volume\":\"221 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2020-02-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2020 IEEE International Students' Conference on Electrical,Electronics and Computer Science (SCEECS)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/SCEECS48394.2020.32\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 IEEE International Students' Conference on Electrical,Electronics and Computer Science (SCEECS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SCEECS48394.2020.32","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

摘要

内存泄漏是导致软件老化的主要原因之一。不管C/ c++中最近的对策(如智能指针)如何,与泄漏相关的问题在C/ c++代码中仍然是一个棘手的问题。本文提出了一种在C/ c++程序中自动检测内存泄漏的算法,该算法通过求解以内存对象为节点,以引用为边的不相交图集来发现应用程序中的内存泄漏。为此,建立了对象数据库和结构数据库,并应用了MLD算法。因此,它有助于保存应用程序中的内存泄漏记录。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Detection of Memory Leaks in C/C++
Memory leaks are one of the main reasons for Software Aging. Irrespective of recent countermeasures in C/C++ such as smart pointers, leak-related issues remain a troublesome issue in C/C++ code. We propose an algorithm for automatic detection of memory leaks in C/C++ programs based on solving disjoint sets of graphs which comprises of memory objects as nodes and their references as edges in order to find the memory leaks within the application. For this an object database and structure database is created and MLD algorithm is applied. Thus, it helps in keeping a record of memory leaks in the application.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信