KallistiOS  ##version##
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Data Fields
elf_hdr_t Struct Reference

ELF file header. More...

#include <kos/elf.h>

Data Fields

uint8 ident [16]
 ELF identifier. More...
 
uint16 type
 ELF file type. More...
 
uint16 machine
 ELF file architecture. More...
 
uint32 version
 Object file version. More...
 
uint32 entry
 Entry point. More...
 
uint32 phoff
 Program header offset. More...
 
uint32 shoff
 Section header offset. More...
 
uint32 flags
 Processor flags. More...
 
uint16 ehsize
 ELF header size in bytes. More...
 
uint16 phentsize
 Program header entry size. More...
 
uint16 phnum
 Program header entry count. More...
 
uint16 shentsize
 Section header entry size. More...
 
uint16 shnum
 Section header entry count. More...
 
uint16 shstrndx
 String table section index. More...
 

Detailed Description

ELF file header.

This header is at the beginning of any valid ELF binary and serves to identify the architecture of the binary and various data about it.

Field Documentation

uint16 elf_hdr_t::ehsize

ELF header size in bytes.

uint32 elf_hdr_t::entry

Entry point.

uint32 elf_hdr_t::flags

Processor flags.

uint8 elf_hdr_t::ident[16]

ELF identifier.

uint16 elf_hdr_t::machine

ELF file architecture.

uint16 elf_hdr_t::phentsize

Program header entry size.

uint16 elf_hdr_t::phnum

Program header entry count.

uint32 elf_hdr_t::phoff

Program header offset.

uint16 elf_hdr_t::shentsize

Section header entry size.

uint16 elf_hdr_t::shnum

Section header entry count.

uint32 elf_hdr_t::shoff

Section header offset.

uint16 elf_hdr_t::shstrndx

String table section index.

uint16 elf_hdr_t::type

ELF file type.

uint32 elf_hdr_t::version

Object file version.


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