From 425524ef91e8b045a68a176be2e9bba0dd63deb4 Mon Sep 17 00:00:00 2001 From: Niklas Baumstark Date: Sat, 21 Mar 2015 14:11:13 +0100 Subject: add identification script --- identify | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 identify 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 -- cgit v1.2.3-54-g00ecf