Ticket #298: UpdateLog.sh

File UpdateLog.sh, 304 bytes (added by Wouldd, 12 years ago)

script to replace function pointers with real function name/location

Line 
1
2grep X0x $1 | cut -d ' ' -f 2 | sed s/X//g | sort | uniq | awk '{system("echo s/"$1"/`addr2line "$1" -e navit -f -s`/g >> sedscr")}'
3#not all function pointers find mappings, investigating why, but rather than replace them with ?? entires:
4grep -v ? sedscr > sedscr2
5
6sed -f sedscr2 $1 > newTrace.log
7
8