validateProgramHeaders

fnvoid validateProgramHeaders(ElfFile file, ValidationLevel level = ValidationLevel.STANDARD)

Validate program headers.

Performs validation checks on the program header table.

Parameters

fileThe ELF file containing the segments.
levelThe validation level to use (default: STANDARD).

Throws

ElfFormatException if program headers are invalid.

ElfValidationException if program headers fail validation.