/usr/lib/radare/bin/dwarf-traces 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 | #!/usr/bin/perl
# --pancake
die "Usage: rsc dwarf-traces [file]\n".
" or: > at* | rsc dwarf-traces $FILE\n"
if ($ARGV[0] eq "");
my $file = $ARGV[0];
my $ostr = "";
while(<STDIN>) {
/^0x([^ ]*)/;
my $addr = $1;
$str = `rsc dwarf-addr $file 0x$addr`;
print $str if ($str ne $ostr);
$ostr = $str;
}
0;
|