ld-auto-import memory bug fixing

Ralf Habacker Ralf.Habacker@freenet.de
Fri Sep 7 13:10:00 GMT 2001


Hi,

is there any way to get the size of by malloc allocated byte of an application ?
If have tried malloc_stats() and mallinfo(), which is described in
/usr/include/malloc.h
and implemented in dlmalloc.cc of the cygwin source, but they seems to be not
defined
in the cygwin1.dll import library.

Another library mmalloc contains mmstats() and mmtrace() which looks equal
malloc_stats() but using
this prints nothing. :-(

Can I use the mmalloc lib with ld to archieve this or is there any other way for
this ?

Ralf



More information about the Cygwin-apps mailing list