I don't know if that is possible, but you could write a supression
file for those "known" memory leaks. valgrind can even create this
file for you. I don't remember the exact procedure, but it is either
in the valgrind faq or manual.

HTH
Rainer

On Tue, Nov 25, 2008 at 12:41 PM, DexterMagnific <[EMAIL PROTECTED]> wrote:
> Hi,
> I have written a program that does some dlopens. The problem is that it loads
> its GUI dynamically using dlopen and I do not control the loaded library.
> I there some way to tell valgrind not to track some specific library (and all
> the libraries it loads in its turn) so I can focus memory checks on my own
> written parts of the code ?
>
> I actually load a Qt GUI and there are lots of memory leaks due to Qt, X,
> libpng, ...
>
> Thanks.
> --
> $Id: KMail, Tue Nov 25 12:38:50 CET 2008, lankri utf8 Exp$
> --
> Saïd LANKRI - PhD student - [EMAIL PROTECTED]
> European University of Brittany - UBS
> Lab-STICC, CNRS/UMR 3192                 tel : +33 (0)2 97 87 45 04
> Centre de Recherche - BP 92116           fax : +33 (0)2 97 87 45 27
> F-56321 Lorient Cedex, FRANCE            www : http://www.lab-sticc.eu/~lankri
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Valgrind-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/valgrind-users
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Valgrind-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to