RelocationTableBuilder.buildRel

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

Build the REL relocation table byte array.

Returns

A byte array containing the REL relocation table data.

Build the REL 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 REL relocations.