Skip to content

Commit

Permalink
elf: update ProgramHeader32
Browse files Browse the repository at this point in the history
Added items newly found in /usr/include/elf.h.
  • Loading branch information
masatake authored and vstinner committed Jun 18, 2024
1 parent 65f8c20 commit af427bc
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions hachoir/parser/program/elf.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,14 @@ class ProgramHeader32(FieldSet):
5: "Reserved, unspecified semantics",
6: "Entry for header table itself",
7: "Thread Local Storage segment",
8: "Number of defined types",
0x6474e550: "GCC .eh_frame_hdr segment",
0x6474e551: "Indicates stack executability",
0x6474e552: "Read-only after relocation",
0x6474e553: "GNU property",
0x6474e554: "SFrame segment",
0x6ffffffa: "Sun Specific segment",
0x6ffffffb: "Sun Stack segment",
0x70000000: "MIPS_REGINFO",
}
static_size = 32 * 8
Expand Down

0 comments on commit af427bc

Please sign in to comment.