diff options
author | n0p <0x90@n0p.cc> | 2018-02-12 18:15:36 +0100 |
---|---|---|
committer | n0p <0x90@n0p.cc> | 2018-02-12 18:15:36 +0100 |
commit | 9e9c6d4bcfabadc1ad139ad5a81083485c2212d7 (patch) | |
tree | 492a41b8ced99e5f8bb62148267e2a23615cfe4c /find | |
parent | a608d88b12dc300584be4e36e6eb85f26e2c42b5 (diff) | |
download | libc-database-master.tar.gz libc-database-master.zip |
Removed the unused tmp/ directory.
Output format of dump/find/identify has changed.
The folder structure of the database has changed.
Diffstat (limited to 'find')
-rwxr-xr-x | find | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |