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
cls | Target ELF class (default CLASS64). |
endian | Target byte order (default LITTLE). |
Returns
A byte array containing the encoded RELA relocations.