ElfValidationException if the file fails validation.
Returns
true if the file passes all validation checks.
bool validateElf(ElfFile file, ValidationLevel level = ValidationLevel.STANDARD)Comprehensively validate an ELF file.
Performs all validation checks on the ELF file at the specified level.
file | The ELF file to validate. |
level | The validation level to use (default: STANDARD). |
ElfValidationException if the file fails validation.