diff options
Diffstat (limited to 'identify')
-rwxr-xr-x | identify | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/identify b/identify new file mode 100755 index 0000000..93f8586 --- /dev/null +++ b/identify @@ -0,0 +1,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 $sha1 |