Bug 466762 - Add redirs for C23 free_sized() and free_aligned_sized()
[valgrind.git] / memcheck / tests / filter_leak_cpp_interior
blobae090876f5d08bf619e54841e502e8a0e4e715f9
1 #! /bin/sh
3 # Remove the suppressed line and the total heap usage line.
4 # Replace the absolute number of bytes different of 0 by x.
5 ./filter_stderr "$@" |
6 sed -e '/ suppressed:/d'\
7 -e '/ total heap usage:/d'\
8 -e 's/[1-9][0-9,]* bytes/x bytes/' \
9 -e 's/[1-9][0-9,]* (\([+-]\)[1-9][0-9,]*) bytes/x (\1x) bytes/' \
10 -e 's/0 (\([+-]\)[1-9][0-9,]*) bytes/0 (\1x) bytes/' \
11 -e 's/[1-9][0-9,]* (\([+-]\)0) bytes/x (\10) bytes/'