FreeNOS
Data Fields
ELFHeader Struct Reference

Describes an ELF executable and must be placed at the beginning of executable programs. More...

#include <ELFHeader.h>

Data Fields

u8 ident [ELF_INDEX_NIDENT]
 Magic number and other info. More...
 
u16 type
 Object file type. More...
 
u16 machine
 Physical machine architecture. More...
 
u32 version
 Object file version. More...
 
u32 entry
 Entry point virtual address. More...
 
u32 programHeaderOffset
 Program header table file offset. More...
 
u32 sectionHeaderOffset
 
u32 flags
 
u16 headerSize
 ELF header size in bytes. More...
 
u16 programHeaderEntrySize
 Program header table entry size. More...
 
u16 programHeaderEntryCount
 Program header table entry count. More...
 
u16 sectionHeaderEntrySize
 Section header table entry size. More...
 
u16 sectionHeaderEntryCount
 Section header table entry count. More...
 
u16 sectionHeaderStringsIndex
 Section header string table index. More...
 

Detailed Description

Describes an ELF executable and must be placed at the beginning of executable programs.

Definition at line 211 of file ELFHeader.h.

Field Documentation

◆ entry

u32 ELFHeader::entry

Entry point virtual address.

Definition at line 226 of file ELFHeader.h.

◆ flags

u32 ELFHeader::flags

Definition at line 235 of file ELFHeader.h.

◆ headerSize

u16 ELFHeader::headerSize

ELF header size in bytes.

Definition at line 238 of file ELFHeader.h.

◆ ident

u8 ELFHeader::ident[ELF_INDEX_NIDENT]

Magic number and other info.

Definition at line 214 of file ELFHeader.h.

◆ machine

u16 ELFHeader::machine

Physical machine architecture.

Definition at line 220 of file ELFHeader.h.

◆ programHeaderEntryCount

u16 ELFHeader::programHeaderEntryCount

Program header table entry count.

Definition at line 244 of file ELFHeader.h.

◆ programHeaderEntrySize

u16 ELFHeader::programHeaderEntrySize

Program header table entry size.

Definition at line 241 of file ELFHeader.h.

◆ programHeaderOffset

u32 ELFHeader::programHeaderOffset

Program header table file offset.

Definition at line 229 of file ELFHeader.h.

◆ sectionHeaderEntryCount

u16 ELFHeader::sectionHeaderEntryCount

Section header table entry count.

Definition at line 250 of file ELFHeader.h.

◆ sectionHeaderEntrySize

u16 ELFHeader::sectionHeaderEntrySize

Section header table entry size.

Definition at line 247 of file ELFHeader.h.

◆ sectionHeaderOffset

u32 ELFHeader::sectionHeaderOffset

Definition at line 232 of file ELFHeader.h.

◆ sectionHeaderStringsIndex

u16 ELFHeader::sectionHeaderStringsIndex

Section header string table index.

Definition at line 253 of file ELFHeader.h.

◆ type

u16 ELFHeader::type

Object file type.

Definition at line 217 of file ELFHeader.h.

◆ version

u32 ELFHeader::version

Object file version.

Definition at line 223 of file ELFHeader.h.


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