extract-elf

Installation
SKILL.md

ELF Binary Data Extraction

This skill provides guidance for tasks involving extraction of data from ELF binary files, including reading headers, parsing segments, and converting binary content to structured output formats.

Approach Overview

ELF extraction tasks typically require:

  1. Parsing the ELF header to understand file structure
  2. Reading program headers to identify LOAD segments
  3. Extracting data from segments at correct virtual addresses
  4. Converting binary data to the required output format

Implementation Steps

Step 1: Validate ELF Header

Before processing, verify the file is a valid ELF binary:

  • Check magic bytes at offset 0: 0x7F 'E' 'L' 'F' (hex: 7f 45 4c 46)
  • Identify ELF class (32-bit vs 64-bit) at offset 4
Related skills

More from letta-ai/skills

Installs
35
Repository
letta-ai/skills
GitHub Stars
97
First Seen
Jan 24, 2026