mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 04:25:13 +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
Notes:
sideshowbarker
2024-07-18 19:28:53 +09:00
Author: https://github.com/gunnarbeutner Commit: https://github.com/SerenityOS/serenity/commit/8dc375da96e Pull-request: https://github.com/SerenityOS/serenity/pull/6394
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
Reference in a new issue