Skip to content

Instantly share code, notes, and snippets.

@tguillem
Created November 6, 2017 12:55
Show Gist options
  • Save tguillem/9cc411755382d2e540963fb4165e3afe to your computer and use it in GitHub Desktop.
Save tguillem/9cc411755382d2e540963fb4165e3afe to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***"
echo "Build fingerprint: 'coucou tu veux voir mon crash ?'"
echo "pid: 0, tid: 0 /data/local/ndk-tests/crasher <<<"
i=0
while read line; do
echo " #`printf "%02d " $i` `echo $line | sed -e "s/native: //" | sed -e "s/\.so \(.*\)/.so/"`"
let "i=$i + 1"
done < "${1:-/dev/stdin}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment