mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 17:07:34 +00:00
LibElf: Allow PT_GNU_EH_FRAME program headers
These are built when compiling an executable with exception support.
This commit is contained in:
parent
a1e0cf80e8
commit
8dc375da96
1 changed files with 1 additions and 0 deletions
|
@ -271,6 +271,7 @@ bool validate_program_headers(const Elf32_Ehdr& elf_header, size_t file_size, co
|
|||
break;
|
||||
case PT_LOAD:
|
||||
case PT_DYNAMIC:
|
||||
case PT_GNU_EH_FRAME:
|
||||
case PT_NOTE:
|
||||
case PT_PHDR:
|
||||
case PT_TLS:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue