PKUOS - Pintos
Pintos source browser for PKU Operating System course
Data Fields
Elf32_Phdr Struct Reference

Program header. More...

Data Fields

Elf32_Word p_type
 
Elf32_Off p_offset
 
Elf32_Addr p_vaddr
 
Elf32_Addr p_paddr
 
Elf32_Word p_filesz
 
Elf32_Word p_memsz
 
Elf32_Word p_flags
 
Elf32_Word p_align
 

Detailed Description

Program header.

See [ELF1] 2-2 to 2-4. There are e_phnum of these, starting at file offset e_phoff (see [ELF1] 1-6).

Definition at line 171 of file process.c.

Field Documentation

◆ p_align

Elf32_Word Elf32_Phdr::p_align

Definition at line 180 of file process.c.

◆ p_filesz

Elf32_Word Elf32_Phdr::p_filesz

Definition at line 177 of file process.c.

Referenced by load(), and validate_segment().

◆ p_flags

Elf32_Word Elf32_Phdr::p_flags

Definition at line 179 of file process.c.

Referenced by load().

◆ p_memsz

Elf32_Word Elf32_Phdr::p_memsz

Definition at line 178 of file process.c.

Referenced by load(), and validate_segment().

◆ p_offset

Elf32_Off Elf32_Phdr::p_offset

Definition at line 174 of file process.c.

Referenced by load(), and validate_segment().

◆ p_paddr

Elf32_Addr Elf32_Phdr::p_paddr

Definition at line 176 of file process.c.

◆ p_type

Elf32_Word Elf32_Phdr::p_type

Definition at line 173 of file process.c.

Referenced by load().

◆ p_vaddr

Elf32_Addr Elf32_Phdr::p_vaddr

Definition at line 175 of file process.c.

Referenced by load(), and validate_segment().


The documentation for this struct was generated from the following file: