/usr/lib/radare/bin/findrawsyms is in radare-common 1:1.5.2-6.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #!/usr/bin/env perl
#
# Find raw syms on binary files
#
# author: pancake <pancake@youterm.com>
#
$| = 1;
$lib = $ARGV[0];
$target = $ARGV[1];
open FD, "(rsc syms-dump $lib 30 2)|" or die "blob";
while(<FD>) {
my($name, $bytes)=split(/:/,$_);
$result=`echo \"/x $bytes\" | radare -vb 40 $target`;
print "$name: $bytes\n$result" if ($result=~/00/);
}
close FD;
|