memcheck/tests/sh-mem-random.c: Set huge_addr to 240GB
[valgrind.git] / memcheck / tests / filter_stderr.in
blob8c37a720829f4f9a47f3342c7f4903d67120c8c4
1 #! /bin/sh
2 # @configure_input@
4 dir=`dirname $0`
6 SED=@SED@
8 $dir/../../tests/filter_stderr_basic |
10 # Anonymise addresses
11 $dir/../../tests/filter_addresses |
13 # Remove "Memcheck, ..." line and the following copyright line.
14 $SED "/^Memcheck, a memory error detector/ , /./ d" |
16 # Replace exit_group() with exit(), because you can get either on Linux
17 # depending on the system.
18 perl -p -e "s/param exit_group\(status\)/param exit(status)/" |
20 # Leak check filtering.
21 $SED "s/checked [0-9,]* bytes./checked ... bytes./" |
23 # More leak check filtering. For systems that do extra libc allocations
24 # (eg. Darwin) there may be extra (reachable, and thus not shown) loss
25 # records. So we filter out the loss record numbers.
26 perl -p -e "s/in (?:new )?loss record \d+ of \d+/in loss record ... of .../" |
28 # Filter out glibc debuginfo if installed.
29 perl -p -e "s/\(syscall-template.S:[0-9]*\)/(in \/...libc...)/" |
30 perl -p -e "s/sendmsg \(sendmsg.c:[0-9]*\)/sendmsg (in \/...libc...)/" |
31 perl -p -e "s/\(socket.S:[0-9]*\)/(in \/...libc...)/" |
33 # Newer architectures (aarch64) implement poll by calling ppoll directly.
34 perl -p -e "s/Syscall param ppoll\(ufds/Syscall param poll\(ufds/" |
36 $dir/../../memcheck/tests/filter_memcheck "$@"
38 exit 0