add section size information
This commit is contained in:
parent
fa5d801e51
commit
94a229ba46
|
@ -309,6 +309,7 @@ class Elf
|
|||
flag += (elf.sh[i].sh_flags & 4) > 0 ? "x" : "-"
|
||||
|
||||
@sections[elf.sh[i].name_str.to_s]["offset"] = elf.sh[i].sh_addr.to_i
|
||||
@sections[elf.sh[i].name_str.to_s]["size"] = elf.sh[i].sh_size.to_i
|
||||
@sections[elf.sh[i].name_str.to_s]["flag"] = flag
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue