mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-30 03:02:18 +00:00
svn -> git Migration
This commit is contained in:
1 parent
88c9715fb0
commit
da7347f76f
1174 files changed
+445622
No files matched your search
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/perl
|
||||
|
||||
#reads the output of locate_stringids.pl from stdin
|
||||
#produces a .IDC file on stdout which we can feed to IDA
|
||||
|
||||
print "#include \"idc.idc\"\n\nstatic main() {\n";
|
||||
|
||||
while(<>) {
|
||||
s/\r?\n//g;
|
||||
next unless(/^([0-9a-fA-F]+) Sends (.*)/);
|
||||
next if(hex($1) == 0);
|
||||
my $off = hex($1);
|
||||
my $str = substr($2, 0, 200);
|
||||
$str =~ s/"/\\"/g;
|
||||
printf("\tMakeComm($off, \"$str\");\n");
|
||||
}
|
||||
|
||||
print "}\n\n";
|
||||
|
||||
|
||||
Reference in new issue
Block a user