Added a temporary fix for the bin->printf issue

This commit is contained in:
deeso 2014-04-20 15:01:51 -05:00
parent 98e5d1af93
commit d1186ac7c2

View File

@ -802,10 +802,10 @@ R_API void r_bin_list_archs(RBin *bin) {
for (i = 0; i < bin->narch; i++) {
if (r_bin_select_idx (bin, i)) {
RBinInfo *info = bin->cur->o->info;
bin->printf ("%03i 0x%08"PFMT64x" %d %s_%i %s %s\n", i,
/*bin->*/printf ("%03i 0x%08"PFMT64x" %d %s_%i %s %s\n", i,
bin->cur->offset, bin->cur->size, info->arch,
info->bits, info->machine, bin->cur->file);
} else bin->printf ("%03i 0x%08"PFMT64x" %d unknown_0\n", i,
} else /*bin->*/printf ("%03i 0x%08"PFMT64x" %d unknown_0\n", i,
bin->cur->offset, bin->cur->size);
}
}