ElfFile._loadEhdr

private void _loadEhdr()

Load and cache the ELF header.

Decodes the class-specific on-disk layout (ELF32 headers are 52 bytes with 32-bit fields; ELF64 headers are 64 bytes with wider fields) and converts every field to the host byte order.

Throws

Exception if data is invalid.