Mail Archives: djgpp/1995/06/18/00:09:10
In article <3ri2i8$5s AT erinews DOT ericsson DOT se>,
Raphael Quinet <Raphael DOT Quinet AT eed DOT ericsson DOT se> wrote:
>didn't have that tool. Does anybody know if there is a freeware program (or
>malloc library) offering the same features as Purify?
The C-Snippets stuff (found on SimTel in the C dir I believe, in
snip????.zip) has a wrapper library that helps check the
integrity of dynamic memory. It check for blocks free'd twice
(which can also cause this problem), overuns, and other things.
It's written by the person who wrote the Symantec C compiler, and
was used to check it for memory leaks.
Also, I believe that the malloc that comes with djgpp is the
standard BSD malloc, which is fairly simple. The Gnu version of
malloc (found on prep.ai.mit.edu) has a runtime debug mode that
should be useful (however, I think it it LGPLed, so you have to
check that out before distributing binaries that use it).
mrc
--
Mike Castle .-=NEXUS=-. Life is like a clock: You can work constantly
mcastle AT cs DOT umr DOT edu and be right all the time, or not work at all
mcastle AT umr DOT edu and be right at least twice a day. -- mrc
We are all of us living in the shadow of Manhattan. -- Watchmen
- Raw text -