decodeRelocationWithAddend

fnRelocationWithAddend decodeRelocationWithAddend(const(ubyte)[] data, size_t offset, ElfClass cls, ElfEndian endian)

Decode a relocation entry with addend from raw ELF file bytes.

Parameters

dataRaw relocation table 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 relocation with addend.

Throws

Exception if the entry does not fit in data.