Skip to content

Instantly share code, notes, and snippets.

View Long5hot's full-sized avatar
🎯
Focusing

Kishan Parmar Long5hot

🎯
Focusing
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;
@Long5hot
Long5hot / elf_format_cheatsheet.md
Created January 12, 2024 05:41 — forked from x0nu11byt3/elf_format_cheatsheet.md
ELF Format Cheatsheet

ELF Format Cheatsheet

Introduction

Executable and Linkable Format (ELF), is the default binary format on Linux-based systems.

ELF

Compilation