5 $dir/..
/..
/tests
/filter_stderr_basic |
8 $dir/..
/..
/tests
/filter_addresses |
10 # Anonymise paths like "(in /foo/bar/libc-baz.so)"
11 sed "s/(in \/.*libc.*)$/(in \/...libc...)/" |
12 sed "s/(in \/.*libpthread.*)$/(in \/...libpthread...)/" |
14 # Anonymise paths like "__libc_start_main (../foo/bar/libc-quux.c:129)"
15 sed "s/__libc_\(.*\) (.*)$/__libc_\1 (...libc...)/" |
17 # Remove preambly stuff; also postambly stuff
19 -e "/^exp-sgcheck, a stack and global array overrun detector$/d" \
20 -e "/^NOTE: This is an Experimental-Class Valgrind Tool$/d" \
21 -e "/^Copyright (C) 2003-201., and GNU GPL'd, by OpenWorks Ltd et al.$/d" \
22 -e "/^For counts of detected and suppressed errors, rerun with: -v$/d" |
24 # Tidy up in cases where glibc (+ libdl + libpthread + ld) have
25 # been built with debugging information, hence source locs are present.
27 -e "s/ vfprintf (.*)/ .../" \
28 -e "s/ vsprintf (.*)/ .../" \
29 -e "s/ sprintf (.*)/ .../" \
30 -e "s/ printf (.*)/ .../" \
31 -e "s/ strdup (.*)/ .../" \
32 -e "s/(pthread_key_create.c:[0-9]*)/(in \/...libpthread...)/" \
33 -e "s/(genops.c:[0-9]*)/(in \/...libc...)/" \
34 -e "s/(syscall-template.S:[0-9]*)/(in \/...libc...)/" |
36 # Anonymise line numbers in h_intercepts.c.
37 sed "s/h_intercepts.c:[0-9]*/h_intercepts.c:.../"