ELF

Creator
Creator
Alan JoAlan Jo
Created
Created
2020 Feb 3 13:12
Editor
Editor
Alan JoAlan Jo
Edited
Edited
2024 Jun 20 16:55
Refs
Refs
ldd

Executable and Linking File Format, Extensible Linking Format

오브젝트 파일, 공유 라이브러리, 또는 코어 덤프를 할 수 있게 하는 바이너리 파일
원래 뜻은 Extensible Linking Format 이라는 뜻
각 ELF 파일은 하나의 ELF 헤더와 파일 데이터로 이루어진다
  • Header
  • program header table
  • File data (segment)
  • section header table optional
notion image

ELF Types

  • Relocatable: need to be fixed by the linker before being executed
  • Executable: all symbols have been resolved except shared libs
  • Shared: shared libraries with the appropriate linking information
  • Core: core dumps created when a program terminated with a fault
ELF Tools
 
 
ELF Notion
 
 
 
binfmt_elf.c
torvalds
(ELF Loading)
 
 
 

Recommendations