Skip to content
Snippets Groups Projects
Commit 3c21de9d authored by an7s's avatar an7s
Browse files

sanity check generated addresses

Former-commit-id: 996eb705894fbb056b535e3517673d2446f800f5
parent 65924a9f
No related branches found
No related tags found
No related merge requests found
......@@ -135,8 +135,9 @@ grep "${delimiter}" $local_crash_summary | awk -F"${delimiter}" '{print $2}' | s
#
if [ -f $CRASH_SITES ]; then
# format: 0x<address_in_hex>
tmp=tmp.$$
grep -v "0x0\$" $CRASH_SITES | sort | uniq > $tmp
grep -v "0x0\$" $CRASH_SITES | egrep '^0x[a-fA-F0-9]+$' | sort | uniq > $tmp
mv $tmp $CRASH_SITES
while read -r LINE || [[ -n $LINE ]]; do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment