Request - malloc/free wrappers to aid debugging

Andrei State state at unc.cs.unc.edu
Sun Jan 21 13:49:45 AEST 1990


In article <gZhzPmi00WB8N9WoYF at andrew.cmu.edu>, dg3s+ at andrew.cmu.edu (David Gentzel) writes:
> I vaugely recall reading a message (or messages) on this list some time ago
> about a set of wrapper functions/macros for malloc/free to aid debugging.
> They (if my memory serves) kept track of malloced/freed memory and allowed
> you to detect such common snafus as multiple frees and memory leaks.
> 
> If anyone knows of such a package, please let me know.  It would be a valuable
> addition to my debugging war chest.

Have a look at Dr. Dobb's Journal #159 (WINTER 1989 special issue), which
contains an article and source for "C Customized Memory Allocators".
_________________________________________________________________________
Andrei State                       alias                 state at cs.unc.edu
more movie buff than graduate student at the University of North Carolina



More information about the Comp.lang.c mailing list