mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-04 11:43:39 +00:00
Fix ELF loading when headers are really fucked up
This commit is contained in:
parent
ba3ad8112a
commit
619e07c21b
@ -611,6 +611,7 @@ static int bin_sections (RCore *r, int mode, ut64 baddr, int va, ut64 at, const
|
||||
size = r->file->size;
|
||||
secbase >>= 16;
|
||||
secbase <<= 16;
|
||||
secbase = baddr; // always override?
|
||||
r_io_section_add (r->io, 0, secbase, size, size, 7, "ehdr");
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user