As far as I know, there's no way to do that.

Last time I wanted this, I hacked it into my local copy of valgrind
(actually just tracking a single address, and printing out one - even
when multiple copies were leaked). Unfortunately, I've since lost that
patch. Fortunately, it was really simple - so doing something like
that yourself shouldn't be hard.

Mike


On Wed, Dec 1, 2010 at 6:56 AM, Rainer Gerhards <rgerha...@gmail.com> wrote:
> Hi all,
>
> I am trying to find a well-hidden memory leak. To do so, it would be
> immensely useful to know the memory addresses of the leaked objects.
> Is there any way I can tell valgrind to show the addresses in its
> memory leak output (just like it does e.g. on access violations)?
>
> Thanks,
> Rainer
>
> ------------------------------------------------------------------------------
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> Valgrind-users mailing list
> Valgrind-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/valgrind-users
>

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to