Version: 3.5.0-TEST2 (using Devel) Compiler: gcc 3.4.6 gcc version 3.4.6 20060404 (Red Hat 3.4.6-10) OS: Linux Installed from: Compiled sources I assume that it is not expected that exp-ptrcheck complains about strlen() calls on CentOS 4.4 ? $ ./vg-in-place -v --tool=exp-ptrcheck /bin/true ==15802== exp-ptrcheck, a heap, stack & global array overrun detector ==15802== NOTE: This is an Experimental-Class Valgrind Tool ==15802== Copyright (C) 2003-2009, and GNU GPL'd, by OpenWorks Ltd et al. ==15802== Using Valgrind-3.5.0-TEST2 and LibVEX; rerun with -h for copyright info ==15802== Command: /bin/true ==15802== --15802-- Valgrind options: --15802-- -v --15802-- --tool=exp-ptrcheck --15802-- Contents of /proc/version: --15802-- Linux version 2.6.9-42.ELsmp (buildcentos@build-i386) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)) #1 SMP Sat Aug 12 09:39:11 CDT 2006 --15802-- Arch and hwcaps: X86, x86-sse1-sse2 --15802-- Page sizes: currently 4096, max supported 4096 --15802-- Valgrind library directory: /home/bart/software/valgrind-3.5.0-TEST2/./.in_place --15802-- Reading syms from /lib/ld-2.3.4.so (0x445000) --15802-- Reading syms from /bin/true (0x8048000) --15802-- object doesn't have a symbol table --15802-- Reading syms from /home/bart/software/valgrind-3.5.0-TEST2/exp-ptrcheck/exp-ptrcheck-x86-linux (0x38000000) --15802-- object doesn't have a dynamic symbol table --15802-- warning: addVar: unknown size (buf) --15802-- Reading suppressions file: /home/bart/software/valgrind-3.5.0-TEST2/./.in_place/default.supp --15802-- Reading syms from /home/bart/software/valgrind-3.5.0-TEST2/coregrind/vgpreload_core-x86-linux.so (0x4000000) --15802-- Reading syms from /home/bart/software/valgrind-3.5.0-TEST2/exp-ptrcheck/vgpreload_exp-ptrcheck-x86-linux.so (0x4003000) --15802-- REDIR: 0x4577d0 (strlen) redirected to 0x4005e58 (strlen) --15802-- Reading syms from /lib/tls/libc-2.3.4.so (0x45f000) ==15802== Invalid read of size 1 ==15802== at 0x4005E60: strlen (h_intercepts.c:75) ==15802== by 0x44C4F1: _dl_map_object (in /lib/ld-2.3.4.so) ==15802== by 0x450307: openaux (in /lib/ld-2.3.4.so) ==15802== by 0x45166D: _dl_catch_error (in /lib/ld-2.3.4.so) ==15802== by 0x4505A9: _dl_map_object_deps (in /lib/ld-2.3.4.so) ==15802== by 0x447459: dl_main (in /lib/ld-2.3.4.so) ==15802== by 0x454DF4: _dl_sysdep_start (in /lib/ld-2.3.4.so) ==15802== by 0x4463EF: _dl_start (in /lib/ld-2.3.4.so) ==15802== by 0x4457C6: ??? (in /lib/ld-2.3.4.so) ==15802== Address 0x445548 is not derived from any known block ...
Created attachment 36263 [details] Full valgrind output for the mentioned command.