-e "/^Copyright (C) 2003-200., and GNU GPL'd, by OpenWorks Ltd et al.$/d" |
# Tidy up in cases where glibc (+ libdl + libpthread + ld) have
-# been built with debugging information, hence source locs are present
+# been built with debugging information, hence source locs are present.
sed \
-e "s/ vfprintf (.*)/ .../" \
-e "s/ vsprintf (.*)/ .../" \
-e "s/ sprintf (.*)/ .../" \
-e "s/ printf (.*)/ .../" \
-e "s/ strdup (.*)/ .../" \
--e "s/ pthread_key_create.c:[0-9]*/ in \/...libpthread.../" \
--e "s/ genops.c:[0-9]*/ in \/...libc.../" |
+-e "s/(pthread_key_create.c:[0-9]*)/(in \/...libpthread...)/" \
+-e "s/(genops.c:[0-9]*)/(in \/...libc...)/" |
# Anonymise line numbers in h_intercepts.c.
sed "s/h_intercepts.c:[0-9]*/h_intercepts.c:.../"
s/(at.*)__builtin_vec_delete/$1...operator delete[].../;
s/(at.*)operator delete\[\]\(void\*\)/$1...operator delete[].../;
+ # Tidy up in cases where glibc (+ libdl + libpthread + ld) have
+ # been built with debugging information, hence source locs are present.
+ s/\((exit|_exit|brk|sbrk).c:[0-9]*\)/(in \/...libc...)/;
+
print;
}