ROSE 0.11.145.247
|
File format of an ELF Segment header.
Byte order of members depends on e_ident value in file header. This code comes directly from "Executable and Linkable Format (ELF)", Portable Formats Specification, Version 1.1, Tool Interface Standards (TIS) and not from any header file. The 64-bit structure is gleaned from the Linux elf(5) man page. Segment table entries (a.k.a., ELF program headers) either describe process segments or give supplementary info which does not contribute to the process image.
Definition at line 20014 of file binaryInstruction.C.
Public Attributes | |
uint32_t | p_type |
0x00 kind of segment | |
uint32_t | p_offset |
0x04 file offset | |
uint32_t | p_vaddr |
0x08 desired mapped address of segment | |
uint32_t | p_paddr |
0x0c physical address where supported (unused by System V) | |
uint32_t | p_filesz |
0x20 bytes in file (may be zero or other value smaller than p_memsz) | |
uint32_t | p_memsz |
0x24 number of bytes when mapped (may be zero) | |
uint32_t | p_flags |
0x28 | |
uint32_t | p_align |
0x2c alignment for file and memory (0,1=>none); power of two | |
uint32_t SgAsmElfSegmentTableEntry::Elf32SegmentTableEntry_disk::p_type |
0x00 kind of segment
Definition at line 20015 of file binaryInstruction.C.
uint32_t SgAsmElfSegmentTableEntry::Elf32SegmentTableEntry_disk::p_offset |
0x04 file offset
Definition at line 20016 of file binaryInstruction.C.
uint32_t SgAsmElfSegmentTableEntry::Elf32SegmentTableEntry_disk::p_vaddr |
0x08 desired mapped address of segment
Definition at line 20017 of file binaryInstruction.C.
uint32_t SgAsmElfSegmentTableEntry::Elf32SegmentTableEntry_disk::p_paddr |
0x0c physical address where supported (unused by System V)
Definition at line 20018 of file binaryInstruction.C.
uint32_t SgAsmElfSegmentTableEntry::Elf32SegmentTableEntry_disk::p_filesz |
0x20 bytes in file (may be zero or other value smaller than p_memsz)
Definition at line 20019 of file binaryInstruction.C.
uint32_t SgAsmElfSegmentTableEntry::Elf32SegmentTableEntry_disk::p_memsz |
0x24 number of bytes when mapped (may be zero)
Definition at line 20020 of file binaryInstruction.C.
uint32_t SgAsmElfSegmentTableEntry::Elf32SegmentTableEntry_disk::p_flags |
0x28
Definition at line 20021 of file binaryInstruction.C.
uint32_t SgAsmElfSegmentTableEntry::Elf32SegmentTableEntry_disk::p_align |
0x2c alignment for file and memory (0,1=>none); power of two
Definition at line 20022 of file binaryInstruction.C.