Re: [Valgrind-developers] Re: git-diff-tree rename detection bug
- From
Paul Mackerras <paulus@samba.org>
- Date
- Sep 20, 2005, 10:50 UTC
- Message-ID
- <17199.59777.784039.885671@cargo.ozlabs.ibm.com>
- In-Reply-To
- <200509151649.47159.Josef.Weidendorfer@gmx.de>
Josef Weidendorfer writes:
> Just curious: Why is it using LD_PRELOAD and not the VGs symbol redirection > mechanism, which should catch strlen even if used inside of glibc?
Valgrind-2.4.1 does symbol redirects for stpcpy and strnlen in libc.so.6, and stpcpy and strchr in ld-linux.so.2. I could extend that list on ppc to include strlen et al., but I don't know if that would solve the problem for ld.so, since strlen doesn't appear in the symbol table for ld.so.
Paul.