|
From: Julian S. <js...@ac...> - 2008-07-09 07:55:24
|
On Wednesday 09 July 2008 09:47, Tom Hughes wrote: > In message <200...@gm...> > > Bart Van Assche <bar...@gm...> wrote: > > The GLib library is a general-purpose utility library which provides a.o. > > memory management functions. This library is used by almost all GNOME and > > KDE applications. Intercepting the GLib memory allocation functions is > > necessary for correct operation of the memcheck, massif, helgrind, drd > > and exp-omega Valgrind tools. The patch below makes Valgrind recognize > > the GLib memory management functions. Please review the patch below. > > Do the GLib allocation routines not wind up calling the C library ones > and hence get caught that way? Indeed; we've been shipping memcheck for N years now (5+ ?) and I don't recall anybody telling us we were not intercepting memory allocation/ free functions in glib. I would think memcheck would be unusable on KDE and Gnome applications due to high noise level if that were really the case. Are you sure? J |