mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-12 17:48:33 +00:00
bin/bin: do not put zero in baddr if invalid
This commit is contained in:
parent
ffdbf919b1
commit
01f0ac9316
@ -997,10 +997,6 @@ static RBinObject * r_bin_object_new (RBinFile *binfile, RBinPlugin *plugin, ut6
|
||||
r_bin_object_set_items (binfile, o);
|
||||
r_bin_file_object_add (binfile, o);
|
||||
|
||||
if (o->baddr == UT64_MAX) {
|
||||
o->baddr = 0;
|
||||
o->baddr_shift = 0;
|
||||
}
|
||||
// XXX this is a very hacky alternative to rewriting the
|
||||
// RIO stuff, as discussed here:
|
||||
if (o->sections)
|
||||
|
Loading…
x
Reference in New Issue
Block a user