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

ELF file header. More...

#include <elf.h>

Data Fields

uint8_t ident [EI_NIDENT]
 ELF identifier.
 
uint16_t type
 ELF file type.
 
uint16_t machine
 ELF file architecture.
 
uint32_t version
 Object file version.
 
uint32_t entry
 Entry point.
 
uint32_t phoff
 Program header offset.
 
uint32_t shoff
 Section header offset.
 
uint32_t flags
 Processor flags.
 
uint16_t ehsize
 ELF header size in bytes.
 
uint16_t phentsize
 Program header entry size.
 
uint16_t phnum
 Program header entry count.
 
uint16_t shentsize
 Section header entry size.
 
uint16_t shnum
 Section header entry count.
 
uint16_t 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_t elf_hdr_t::ehsize

ELF header size in bytes.

◆ entry

uint32_t elf_hdr_t::entry

Entry point.

◆ flags

uint32_t elf_hdr_t::flags

Processor flags.

◆ ident

uint8_t elf_hdr_t::ident[EI_NIDENT]

ELF identifier.

◆ machine

uint16_t elf_hdr_t::machine

ELF file architecture.

◆ phentsize

uint16_t elf_hdr_t::phentsize

Program header entry size.

◆ phnum

uint16_t elf_hdr_t::phnum

Program header entry count.

◆ phoff

uint32_t elf_hdr_t::phoff

Program header offset.

◆ shentsize

uint16_t elf_hdr_t::shentsize

Section header entry size.

◆ shnum

uint16_t elf_hdr_t::shnum

Section header entry count.

◆ shoff

uint32_t elf_hdr_t::shoff

Section header offset.

◆ shstrndx

uint16_t elf_hdr_t::shstrndx

String table section index.

◆ type

uint16_t elf_hdr_t::type

ELF file type.

◆ version

uint32_t elf_hdr_t::version

Object file version.


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