mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-04 19:47:31 +00:00
e557d9a385
* Fix visual glitch in Vej and Vt * Handle demangled names as comments - in rabin2 and core->bin_load - Needs to be a RAnalCall at some point - bin_java calls the dummy r_bin_demangle_java - Add R_BIN_NM_ANY enum * Add asm.lbytes config to align disasm bytes to left * Fix visual glitch in function boundaries * Import upgraded versions of the idc2rdb scripts in doc/
20 lines
480 B
Perl
Executable File
20 lines
480 B
Perl
Executable File
#!/usr/bin/perl
|
|
# author: pancake <youterm.com>
|
|
# MakeName (0X804C1AF, "the_forker");
|
|
# MakeRptCmt (0X804C1B6, "comentari chachi\n");
|
|
|
|
open FD, "<".$ARGV[0] or die "Cannot open file\n";
|
|
print "fs symbols\n";
|
|
while(<FD>) {
|
|
$str=$_;
|
|
if ($str=~/MakeName[^X]*.([^,]*)[^"]*.([^"]*)/) {
|
|
print "f sym.$2 @ 0x$1\n";
|
|
}
|
|
elsif ($str=~/MakeRptCmt[^X]*.([^,]*)[^"]*.([^"]*)/) {
|
|
$cmt = $2;
|
|
$off = $1;
|
|
$cmt=~s/\\n//g;
|
|
print "CC $cmt @ 0x$off\n";
|
|
}
|
|
}
|