This file is indexed.

/usr/lib/radare/bin/dasm is in radare-common 1:1.5.2-4.

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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#!/bin/sh
#
# Command line disassembler.
#
# author : pancake <pancake@youterm.com>
#

# TODO: use real and secure temporally files

CODE="$1"
[ -z "$OBJDUMP" ] && OBJDUMP="objdump"

if [ "$SYNTAX" = "intel" ]; then
	OBJDUMP="$OBJDUMP -M intel"
fi

FILE=`mktemp`
[ "$1" = "-h" ] && CODE=""
if [ "$CODE" = '-' ]; then
	cat > $FILE
	cat $FILE | xxd -i > $FILE.o
	echo ".byte `echo \`cat $FILE.o\``" | sed -e 's,\n,,g' > $FILE.s
else
	if [ -z "${CODE}" ]; then
		echo "Usage: rsc dasm [-|\"90 90 90 90\"]"
		echo "environment:"
		echo "  SYNTAX: att or intel"
		echo "  OBJDUMP  path to objdump program"
		exit 0;
	fi
	FOO=""
	for A in ${CODE}; do
		FOO="${FOO}, 0x$A";
	done
	FOO=`echo ${FOO} | sed -e 's,\,,,'`
	echo ".byte ${FOO}" > $FILE.s
fi

as $FILE.s -o $FILE.x
${OBJDUMP} -d $FILE.x | perl -ne 'print if (/.:\t/);'
rm -f $FILE $FILE.s $FILE.x $FILE.o