aboutsummaryrefslogtreecommitdiff
path: root/identify
blob: 15472616e5d039481e0683fa2425aff8724b59d8 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash
if [[ $# != 1 ]]; then
  echo >&2 "Usage: $0 path/to/libc.so"
  exit 2
fi
libc=$1
sha1=`sha1sum $libc`
sha1sum db/*.so | grep `echo $sha1 | awk '{print $1 }'`