* Fix r_bin build

This commit is contained in:
Nibble 2010-02-22 17:13:40 +01:00
parent 02121858a7
commit 904aeff062
2 changed files with 3 additions and 2 deletions

View File

@ -20,6 +20,7 @@ extern RBinHandle r_bin_plugin_elf64;
extern RBinHandle r_bin_plugin_pe;
extern RBinHandle r_bin_plugin_pe64;
extern RBinHandle r_bin_plugin_mach0;
extern RBinHandle r_bin_plugin_mach064;
extern RBinHandle r_bin_plugin_java;
extern RBinHandle r_bin_plugin_dummy;

View File

@ -239,7 +239,7 @@ static int rabin_show_sections(ut64 at) {
section->size, section->vsize, section->name);
printf ("f section.%s %lli 0x%08llx\n",
section->name, section->size, va?baddr+section->rva:section->offset);
printf ("CC [%02i] address=0x%08llx offset=0x%08llx size=%08lli vsize=%08lli"
printf ("CC [%02i] address=0x%08llx offset=0x%08llx size=%08lli vsize=%08lli "
"privileges=%c%c%c%c name=%s @ 0x%08llx\n",
i, baddr+section->rva, section->offset, section->size, section->vsize,
R_BIN_SCN_SHAREABLE (section->characteristics)?'s':'-',
@ -247,7 +247,7 @@ static int rabin_show_sections(ut64 at) {
R_BIN_SCN_WRITABLE (section->characteristics)?'w':'-',
R_BIN_SCN_EXECUTABLE (section->characteristics)?'x':'-',
section->name,va?baddr+section->rva:section->offset);
} else printf ("idx=%02i address=0x%08llx offset=0x%08llx size=%08lli vsize=%08lli"
} else printf ("idx=%02i address=0x%08llx offset=0x%08llx size=%08lli vsize=%08lli "
"privileges=%c%c%c%c name=%s\n",
i, baddr+section->rva, section->offset, section->size, section->vsize,
R_BIN_SCN_SHAREABLE (section->characteristics)?'s':'-',