KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
elf_hdr_t Struct Reference

ELF file header. More...

#include <kos/elf.h>

Data Fields

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

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

◆ ehsize

uint16 elf_hdr_t::ehsize

ELF header size in bytes.

◆ entry

uint32 elf_hdr_t::entry

Entry point.

◆ flags

uint32 elf_hdr_t::flags

Processor flags.

◆ ident

uint8 elf_hdr_t::ident[16]

ELF identifier.

◆ machine

uint16 elf_hdr_t::machine

ELF file architecture.

◆ phentsize

uint16 elf_hdr_t::phentsize

Program header entry size.

◆ phnum

uint16 elf_hdr_t::phnum

Program header entry count.

◆ phoff

uint32 elf_hdr_t::phoff

Program header offset.

◆ shentsize

uint16 elf_hdr_t::shentsize

Section header entry size.

◆ shnum

uint16 elf_hdr_t::shnum

Section header entry count.

◆ shoff

uint32 elf_hdr_t::shoff

Section header offset.

◆ shstrndx

uint16 elf_hdr_t::shstrndx

String table section index.

◆ type

uint16 elf_hdr_t::type

ELF file type.

◆ version

uint32 elf_hdr_t::version

Object file version.


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