Design and implementation of a C plus plus memory leak detection tool based on dynamic instrumentation

被引:1
作者
Zhou, Liang [2 ]
Fu, Siran [1 ,3 ]
Guo, Tao [1 ]
Han, Lifang [2 ]
Cui, Baojiang [1 ,3 ]
机构
[1] Beijing Univ Posts & Telecommun, Sch Comp Sci, Beijing, Peoples R China
[2] China Elect Power Res Inst, Beijing, Peoples R China
[3] Natl Engn Lab Mobile Network Secur, Beijing, Peoples R China
来源
2016 10TH INTERNATIONAL CONFERENCE ON INNOVATIVE MOBILE AND INTERNET SERVICES IN UBIQUITOUS COMPUTING (IMIS) | 2016年
基金
中国国家自然科学基金;
关键词
MemDetect; life cycle; memory leak; dynamic instrumentation;
D O I
10.1109/IMIS.2016.47
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
For C++ programs often appear memory leaks, cross-border access memory and memory does not match the release of error, we have analyzed existing memory error detection tools and methods, implemented in the Linux platform to run the memory testing tool MemDetect prototype based on the open source dynamic instrumentation-Valgrind using function family's memory information block management method and life cycle method. The prototype can detect memory leaks, cross-border access memory and memory does not match the release problems effectively, the validity and efficiency of the prototype are proved by comparing with Purify Rational.
引用
收藏
页码:149 / 153
页数:5
相关论文
共 9 条
  • [1] [Anonymous], 2006, Software security: building security in
  • [2] Godefroid P., 2008, P 8 ACM INT C EMB SO, P19
  • [3] NETHERCOTE N, 2007, P PLDI 2007 SAN DIEG
  • [4] Nicole R., 2010, METAL INCORPORATION
  • [5] Offutt A. J., 2013, P ACM SIGSOFT INT S
  • [6] Ronsse M, 2004, ADV PARALLEL COMPUT, V13, P39
  • [7] Seward J., 2005, P USENIX 05 ANN TECH
  • [8] Wang Ya-wen, 2011, Acta Electronica Sinica, V39, P296
  • [9] Yorozu Y., 2012, IEEE T SOFTWARE ENG