首页 | 本学科首页   官方微博 | 高级检索  
     

用“电子防护墙”实现对内存动态分配的测试
引用本文:刘一帆,古乐野.用“电子防护墙”实现对内存动态分配的测试[J].计算机与数字工程,2001,29(4):4-7,22.
作者姓名:刘一帆  古乐野
作者单位:中科院成都计算机应用研究所
摘    要:本文介绍了“电子防护墙”的基本算法和利用该算法测试程序中出现的存储器动态管理问题的原理,包括“内存泄漏”和“访问越界”,以及如何用VC 6.0在Windws98上实现该算法。

关 键 词:内存动态分配  内存管理  测试  “电子防护墙”  操作系统

Testing the Dynamic Allocation of Memory by "Electric Fence"
Liu Yifan Gu Leye Chengdu Institute of Computer Application,CAS.Testing the Dynamic Allocation of Memory by "Electric Fence"[J].Computer and Digital Engineering,2001,29(4):4-7,22.
Authors:Liu Yifan Gu Leye Chengdu Institute of Computer Application  CAS
Abstract:Heap- related defects are always tough and boring in software testing. In this paper, an algorithm named "Electric Fence"is introduced, which can detect such bugs as "Memory Leak", "Access Violation"and so on. At last,a realization of this algorithm on Windows98 with VC+ +6.0 is introduced.
Keywords:Electric Fence  Software Testing  Access Violation  Memory Leak  VC+ +
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号