Aard tracks the state of each byte of memory in the heap and the stack. The state can be one of Undefined, Uninitialised, Free or Set. The program can detect invalid transitions (i.e. attempting to set or use undefined or free storage or attempting to access uninitialised storage).
In addition, the program keeps track of heap use through malloc and free and at the end of the run reports memory blocks that were not freed and that are not accessible (i.e. memory leaks).
The tool works using a spliced-in shared library on SPARCs running C++ 3.0.1 under SunOS 4.X.
See also:
This article (or an earlier version of it) contains material from FOLDOC, used with permission.
Search Encyclopedia
|
Featured Article
|