# eliben/pyelftools

Parsing ELF and DWARF in Python

Repository: https://github.com/eliben/pyelftools
Canonical: https://ross.abutalabs.com/products/pyelftools
Language: Python
License: NOASSERTION
License Family: other
Topics: debugging, dwarf, elf, elf-binaries, elf-parser, python
Last push: 2026-07-30T13:12:41+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 95, release rhythm 35, longevity 100
- inputs: {"age_days": 4834, "days_push": 34, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2275, forks 546 (observed 2026-08-28T04:06:33.380553+00:00)

## What it is
pyelftools is a pure-Python library with no external dependencies for parsing ELF binaries and DWARF debugging information. It lets Python code inspect executable structure, sections, symbols, and debug metadata.

## Use cases
- parse ELF binary sections and symbols in Python
- extract DWARF debug info from executables
- analyze ELF files without external tools
- inspect binary metadata for security analysis
- build tooling that reads ELF/DWARF programmatically

## When to choose
- you need a dependency-free pure-Python ELF/DWARF parser
- you want to inspect binaries from Python scripts or tools

## When to avoid
- you need to parse non-ELF formats like PE or Mach-O
- you need extremely high-performance binary parsing

## Facets
- artifact type: library
- maturity: stable
- function: parser, developer-tools
- domain: developer-tools, parsers
- platform: python, cross-platform
- tags: elf, dwarf, binary-analysis, pure-python, debugging-info, debugging

## Member repositories
- eliben/pyelftools (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:33.380553+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:41:30.616190+00:00, confidence not recorded.
  - readme: https://github.com/eliben/pyelftools (fetched 2026-08-28T04:06:33.380553+00:00, sha 071bedf3933d)
  - registry_pypi: https://pypi.org/pypi/pyelftools/json (fetched 2026-08-29T10:21:56.104535+00:00, sha d0985e12f6ff)
- Data as of 2026-08-30T08:39:29.467469+00:00.
