Aar



         


Aard (Dutch for "Earth") is a programming tool to check memory use for C++ programs. It is written by Steve Reiss, who names his programs after living systems.

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.

[Top]

References

This article was originally based on material from the Free On-line Dictionary of Computing and is used under the GFDL.

[Top]




  View Live Article   This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License