# m4b/goblin

An impish, cross-platform binary parsing crate, written in Rust

Repository: https://github.com/m4b/goblin
Canonical: https://ross.abutalabs.com/products/goblin
Language: Rust
License: MIT
License Family: permissive
Topics: elf, mach, archive, pe, binary-analysis, reverse-engineering, cross-platform
Last push: 2026-06-13T15:00:09+00:00

## Health v2 (maintenance only)
Score: 71/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 87, release rhythm 35, longevity 100
- inputs: {"age_days": 3764, "days_push": 81, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1541, forks 200 (observed 2026-08-28T04:05:00.667350+00:00)

## What it is
Goblin is a Rust library for parsing and loading binary executable formats including ELF, Mach-O, PE, and Unix/BSD archives. It offers zero-copy, endian-aware, 32/64-bit parsing with optional no_std support for kernels and binary analysis tools.

## Use cases
- parse ELF binaries in Rust
- read Mach-O executables
- inspect PE32/PE64 files
- build a binary analysis tool
- write a dynamic linker
- emit object files from a compiler
- analyze binaries of foreign endianness
- run in a no_std kernel to load executables

## When to choose
- you need a mature, heavily fuzzed Rust parser for ELF/Mach-O/PE formats
- you need zero-copy or no_std parsing for kernels or embedded analysis
- you want one crate handling multiple executable formats with 32/64-bit support

## When to avoid
- you need to execute or emulate binaries rather than parse them
- you need formats beyond ELF/Mach-O/PE/archive (e.g., DWARF debug info is separate)
- you are not working in Rust

## Facets
- artifact type: library
- maturity: stable
- function: parser, reverse-engineering, developer-tools
- domain: parsers, reverse-engineering, developer-tools, security
- platform: rust, cross-platform, cli
- tags: elf, mach-o, pe, binary-analysis, zero-copy, no-std, executable-formats, archive

## Member repositories
- m4b/goblin (main) score 71

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:00.667350+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-30T04:30:48.086285+00:00, confidence not recorded.
  - readme: https://github.com/m4b/goblin (fetched 2026-08-28T04:05:00.667350+00:00, sha 2ed4806c6a11)
  - registry_crates: https://crates.io/api/v1/crates/goblin (fetched 2026-08-29T11:32:07.527040+00:00, sha 52e129b78b0f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
