| 141 | 3 | 11 |
| 下载次数 | 被引频次 | 阅读次数 |
分析学生学习C语言动态内存分配过程中容易忽略的一些问题,探讨通过实验,展开关于动态内存分配相关内容,提出以实验的形式,在Intel-Pin平台下通过函数插桩,得到被测程序的一些信息,然后将其输出到指定文件,通过分析输出文件,得到被测程序是否存在内存泄漏。
Abstract:[1]韩雨涝. C语言动态内存分配研究及应用[J].计算机时代, 2009(5):33-34.
[2]吴民,涂奉生. Linux下面向函数的动态内存泄漏监测[J].计算机工程与应用, 2003(6):37-40.
[3]Reddi V J, Settle A, Connors D A, et al. PIN:a binary instrumentation tool for computer architecture research and education[C]//Proceedings of the 2004 workshop on Computer architecture education:held in conjunction with the 31st International Symposium on Computer Architecture. ACM, 2004:22.
[4]Ball T. The concept of dynamic analysis[C]//ACM SIGSOFT Software Engineering Notes. Springer-Verlag, 1999, 24(6):216-234.
[5]Luk C K, Cohn R, Muth R, et al. Pin:building customized program analysis tools with dynamic instrumentation[C]//Acm sigplan notices. ACM, 2005, 40(6):190-200.
基本信息:
DOI:10.16512/j.cnki.jsjjy.2019.01.030
中图分类号:TP33-4;G642.4
引用信息:
[1]韩静,彭双和,赵佳利.动态内存分配及内存泄漏相关概念的案例教学[J].计算机教育,2019,No.289(01):111-115.DOI:10.16512/j.cnki.jsjjy.2019.01.030.
2019-01-10
2019-01-10
