Skip to content

Instantly share code, notes, and snippets.

View milabs's full-sized avatar
💭
CMake is SHIT

Ilya V. Matveychikov milabs

💭
CMake is SHIT
  • Russia, Moscow
View GitHub Profile

ELF

ELF Header

The first portion of any ELF file is the ELF header. This generally provides offsets to other headers (program headers and section headers) within an ELF.

typedef struct {
  unsigned char e_ident[EI_NIDENT];
 uint16_t e_type;