James G. Sack (jim) wrote:
James G. Sack (jim) wrote:
..
Hmmm, know anything about mtrace (man 3 mtrace -- from glibc-utils)?
I also see mention of memwatch and dmalloc.
These above found via
Memory Leak Detection in Embedded Systems
http://www.linuxjournal.com/article/6059
OK, I tried mtrace. Unless there's some undocumented features somewhere,
it seems fairly simple minded. It reports unfreed allocations, but not
write-past end-of-allocation. I'm not sure what else it might handle. It
actually seems to hang on a double free.
I believe that what you want is called ElectricFence.
http://directory.fsf.org/ElectricFence.html
-a
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg