Do not read the header if it's not "PT_LOAD"

This commit is contained in:
Alex
2022-12-10 06:43:37 +02:00
parent b1e09147bf
commit bade38e173
2 changed files with 14 additions and 10 deletions

View File

@ -239,6 +239,7 @@ enum SegmentTypes
PT_NOTE = 4,
PT_SHLIB = 5,
PT_PHDR = 6,
PT_TLS = 7,
PT_LOSUNW = 0x6ffffffa,
PT_SUNWBSS = 0x6ffffffb,
PT_SUNWSTACK = 0x6ffffffa,