mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-04 03:11:28 +00:00
segments dont use the S_ZEROFILL, just section
This commit is contained in:
parent
3d8833f47c
commit
f306a3ae0b
@ -1313,7 +1313,7 @@ struct section_t* MACH0_(get_sections)(struct MACH0_(obj_t)* bin) {
|
||||
seg = &bin->segs[i];
|
||||
sections[i].addr = seg->vmaddr;
|
||||
sections[i].offset = seg->fileoff;
|
||||
sections[i].size = seg->flags & S_ZEROFILL ? 0 : seg->vmsize;
|
||||
sections[i].size = seg->vmsize;
|
||||
sections[i].vsize = seg->vmsize;
|
||||
sections[i].align = 4096;
|
||||
sections[i].flags = seg->flags;
|
||||
|
Loading…
Reference in New Issue
Block a user