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

Executable header. More...

Data Fields

unsigned char e_ident [16]
 
Elf32_Half e_type
 
Elf32_Half e_machine
 
Elf32_Word e_version
 
Elf32_Addr e_entry
 
Elf32_Off e_phoff
 
Elf32_Off e_shoff
 
Elf32_Word e_flags
 
Elf32_Half e_ehsize
 
Elf32_Half e_phentsize
 
Elf32_Half e_phnum
 
Elf32_Half e_shentsize
 
Elf32_Half e_shnum
 
Elf32_Half e_shstrndx
 

Detailed Description

Executable header.

See [ELF1] 1-4 to 1-8. This appears at the very beginning of an ELF binary.

Definition at line 150 of file process.c.

Field Documentation

◆ e_ehsize

Elf32_Half Elf32_Ehdr::e_ehsize

Definition at line 160 of file process.c.

◆ e_entry

Elf32_Addr Elf32_Ehdr::e_entry

Definition at line 156 of file process.c.

Referenced by load().

◆ e_flags

Elf32_Word Elf32_Ehdr::e_flags

Definition at line 159 of file process.c.

◆ e_ident

unsigned char Elf32_Ehdr::e_ident[16]

Definition at line 152 of file process.c.

Referenced by load().

◆ e_machine

Elf32_Half Elf32_Ehdr::e_machine

Definition at line 154 of file process.c.

Referenced by load().

◆ e_phentsize

Elf32_Half Elf32_Ehdr::e_phentsize

Definition at line 161 of file process.c.

Referenced by load().

◆ e_phnum

Elf32_Half Elf32_Ehdr::e_phnum

Definition at line 162 of file process.c.

Referenced by load().

◆ e_phoff

Elf32_Off Elf32_Ehdr::e_phoff

Definition at line 157 of file process.c.

Referenced by load().

◆ e_shentsize

Elf32_Half Elf32_Ehdr::e_shentsize

Definition at line 163 of file process.c.

◆ e_shnum

Elf32_Half Elf32_Ehdr::e_shnum

Definition at line 164 of file process.c.

◆ e_shoff

Elf32_Off Elf32_Ehdr::e_shoff

Definition at line 158 of file process.c.

◆ e_shstrndx

Elf32_Half Elf32_Ehdr::e_shstrndx

Definition at line 165 of file process.c.

◆ e_type

Elf32_Half Elf32_Ehdr::e_type

Definition at line 153 of file process.c.

Referenced by load().

◆ e_version

Elf32_Word Elf32_Ehdr::e_version

Definition at line 155 of file process.c.

Referenced by load().


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