ProgramHeaderBuilder.build

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

Build the final program header table byte array.

Returns

A byte array containing the program header table data.

Build the program header 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 program headers.