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