blob: 9192df42b1b51fce074310f87189b1a8e374954a [file] [log] [blame]
njn25e49d8e72002-09-23 09:36:25 +00001#! /bin/sh
2
3# Anonymise paths like "/local/foo/bar/tests/baz/quux" (note "tests" is there)
sewardjd5412292003-05-05 16:18:51 +00004#sed "s/\/.*\/tests\//\/...\/tests\//"
5
sewardjb6837202006-10-17 01:48:41 +00006# Remove these three kinds of lines, which tend to appear beneath
sewardjd5412292003-05-05 16:18:51 +00007# the stack frame of __libc_start_main
8# by 0x........: (within /.../tests/malloc2)
9# by 0x........: ??? (start.S:81)
sewardjb6837202006-10-17 01:48:41 +000010# by 0x........: function_name (in object_name)
sewardjd5412292003-05-05 16:18:51 +000011sed "s/by 0x........: (within [^)]*)/by 0x........: .../" | \
sewardjb6837202006-10-17 01:48:41 +000012sed "s/by 0x........: ??? ([^)]*)/by 0x........: .../" | \
13sed "s/by 0x........: [a-zA-Z0-9_]* (in [^)]*)/by 0x........: .../"