This file is indexed.

/usr/lib/radare/bin/dwarf-addr 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
19
20
21
22
23
#!/bin/sh
#
# pancake <youterm.com>

FILE=$1
ADDR=$2
if [ -z "${ADDR}" ]; then
	echo "Usage: dwarf-addr [a.out] [addr]"
	exit 1
fi

if [ ! "`echo ${ADDR}| grep 0x`" ]; then
	ADDR=`rax ${ADDR}`
fi

FL=`rsc dwarf-at $FILE ${ADDR}`
if [ -z "`echo $FL| grep '??'`" ]; then
#	[ -n "`echo $FL` | grep Binary" ] && exit
	FILE=`echo $FL|cut -d : -f 1`
	LINE=`echo $FL|cut -d : -f 2`
#	rsc list ${FILE} ${LINE}
	nl $FILE | grep -e " $LINE" | head -n 1
fi