RFC: api to walk memory allocations

Tom Tromey tromey@redhat.com
Thu Oct 31 02:32:00 GMT 2013


>>>>> "Rich" == Rich Felker <dalias@aerifal.cx> writes:

Rich> Valgrind already does a great job with this kind of thing,
Rich> and gdb could do some similar work just by breakpointing malloc and
Rich> free and recording the calls.

It's already been done in gdb:

    https://fedorahosted.org/gdb-heap/

Tom



More information about the Libc-alpha mailing list