Registry / utility / goblin

goblin

JSON →
library0.10.7rscratesunverified

An impish, cross-platform, ELF, Mach-o, and PE binary parsing and loading crate.

# Cargo.toml [dependencies] goblin = "0.10.7"
INSTALL
IMPORT
SIG · GOBLIN
G
goblin
utilityrustv0.10.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Elf
use goblin::elf::Elf;

Parses an ELF binary and prints its entry point.

use goblin::elf::Elf; fn main() -> Result<(), Box<dyn std::error::Error>> { let bytes = std::fs::read("some_binary")?; let elf = Elf::parse(&bytes)?; println!("ELF entry point: {:#x}", elf.header.e_entry); Ok(()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.10.7latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
goblin — cargo add goblin · libregistry