MOS Source Code
Loading...
Searching...
No Matches
elf_header_t Struct Reference

#include <elf.h>

+ Collaboration diagram for elf_header_t:

Public Attributes

elf_identity_t identity
 
int object_type: 16
 
int machine_type: 16
 
u32 version
 
ptr_t entry_point
 
size_t ph_offset
 
size_t sh_offset
 
u32 flags
 
u16 header_size
 
struct { 
 
   u16   entry_size 
 
   u16   count 
 
ph 
 
struct { 
 
   u16   entry_size 
 
   u16   count 
 
sh 
 
u16 sh_strtab_index
 

Detailed Description

Definition at line 37 of file elf.h.

Member Data Documentation

◆ identity

elf_identity_t identity

Definition at line 39 of file elf.h.

Referenced by elf_verify_header().

◆ object_type

int object_type

Definition at line 40 of file elf.h.

Referenced by elf_do_fill_process(), and elf_read_and_verify_executable().

◆ machine_type

int machine_type

Definition at line 41 of file elf.h.

Referenced by elf_verify_header().

◆ version

u32 version

Definition at line 43 of file elf.h.

◆ entry_point

ptr_t entry_point

Definition at line 45 of file elf.h.

Referenced by elf_do_fill_process(), and elf_map_interpreter().

◆ ph_offset

size_t ph_offset

Definition at line 46 of file elf.h.

Referenced by elf_do_fill_process(), and elf_map_interpreter().

◆ sh_offset

size_t sh_offset

Definition at line 47 of file elf.h.

◆ flags

u32 flags

Definition at line 49 of file elf.h.

◆ header_size

u16 header_size

Definition at line 50 of file elf.h.

◆ entry_size

u16 entry_size

Definition at line 54 of file elf.h.

Referenced by elf_do_fill_process(), and elf_map_interpreter().

◆ count

u16 count

Definition at line 54 of file elf.h.

Referenced by elf_do_fill_process(), and elf_map_interpreter().

◆ [struct]

struct { ... } ph

◆ [struct]

struct { ... } sh

◆ sh_strtab_index

u16 sh_strtab_index

Definition at line 57 of file elf.h.


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