decodeDynamicEntry

fnDynamicEntry decodeDynamicEntry(const(ubyte)[] data, size_t offset, ElfClass cls, ElfEndian endian)

Decode a dynamic section entry from raw ELF file bytes.

Parameters

dataRaw dynamic section bytes.
offsetOffset of the entry within data.
clsELF class of the file (selects the wire layout).
endianByte order used by the file.

Returns

The decoded generic dynamic entry.

Throws

Exception if the entry does not fit in data.