From 9e9c6d4bcfabadc1ad139ad5a81083485c2212d7 Mon Sep 17 00:00:00 2001 From: n0p <0x90@n0p.cc> Date: Mon, 12 Feb 2018 18:15:36 +0100 Subject: Added support for Debian and ARM (armel, armhf, arm64). Removed the unused tmp/ directory. Output format of dump/find/identify has changed. The folder structure of the database has changed. --- find | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'find') diff --git a/find b/find index 0039a12..dda3fc3 100755 --- a/find +++ b/find @@ -8,7 +8,7 @@ function find_single() { name=$1 address=$2 addr_last12=`echo -n "$address" | tail -c 3` - grep -i -e "^$name .*$addr_last12$" db/*.symbols \ + grep -r --include=\*.symbols -i -e "^$name .*$addr_last12$" db/ \ | perl -n -e '/db\/(.*)\.symbols/ && print "$1\n"' \ | sort } @@ -27,5 +27,5 @@ function find() { } for id in `find "$@"`; do - echo "`cat db/${id}.info` (id $id)" + echo "db/${id}.so" done -- cgit v1.2.3