decodeSectionHeader
fn
SectionHeader decodeSectionHeader(const(ubyte)[] data, size_t offset,
ElfClass cls, ElfEndian endian)Decode a section header from raw ELF file bytes.
Parameters
data | Raw ELF file bytes. |
offset | Offset of the section header within data. |
cls | ELF class of the file (selects the wire layout). |
endian | Byte order used by the file. |
Returns
The decoded generic section header.
Throws
Exception if the header does not fit in
data.