RelocationTableBuilder.buildRela

ubyte[] buildRela(types.ElfClass cls = types.ElfClass.CLASS64, io.ElfEndian endian = io.ElfEndian.LITTLE)

Build the RELA relocation table byte array for the specified ELF class and byte order.

Parameters

clsTarget ELF class (default CLASS64).
endianTarget byte order (default LITTLE).

Returns

A byte array containing the encoded RELA relocations.