decodeRelocationWithAddend
fn
RelocationWithAddend decodeRelocationWithAddend(const(ubyte)[] data,
size_t offset, ElfClass cls, ElfEndian endian)Decode a relocation entry with addend from raw ELF file bytes.
Parameters
data | Raw relocation 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 relocation with addend.
Throws
Exception if the entry does not fit in
data.