Trackalloc - a lightweight heap profiler

Trackalloc wraps the ISO C memory functions with functions that keep records of current allocations. These records can be written to files at selected
points in the program under test. The files can then be summarized using the
included generate_stats.pl script. Output from this script looks a little like
this: