摘要
本文介绍了“电子防护墙”的基本算法和利用该算法测试程序中出现的存储器动态管理问题的原理,包括“内存泄漏”和“访问越界”,以及如何用VC++6.0在Windows98上实现该算法。
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.
出处
《计算机与数字工程》
2001年第4期4-7,22,共5页
Computer & Digital Engineering