ElfFile.getEhdr

const(gelf.FileHeader) getEhdr()

Get the GELF file header.

Lazy loads and caches the header on first access.

Returns

The GELF file header.

Throws

Exception if the file is too short or header is invalid.