Build the program header table byte array for the specified ELF class and byte order.
Parameters
cls | Target ELF class (default CLASS64). |
endian | Target byte order (default LITTLE). |
ubyte[] build(types.ElfClass cls = types.ElfClass.CLASS64,
io.ElfEndian endian = io.ElfEndian.LITTLE)Build the final program header table byte array.
Build the program header table byte array for the specified ELF class and byte order.
cls | Target ELF class (default CLASS64). |
endian | Target byte order (default LITTLE). |
Returns: A byte array containing the encoded program headers.