elrond 1.0.0

Standard conformant elf parser
Documentation
  • Coverage
  • 7.81%
    21 out of 269 items documented0 out of 3 items with examples
  • Size
  • Source code size: 2.35 MB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 11.24 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 18s Average build duration of successful builds.
  • all releases: 18s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Documentation
  • valarauca/elrond
    1 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • valarauca

Elrond

Docs


To use

Add this to your Cargo.toml

[dependencies]
elrond = "1.0.0"

Code Example

extern crate elrond;
use elrond::prelude::*;

let mut v = Vec::with_capacity(4096);
let _ = my_file.read_to_end(v.as_mut_slice())?;
let elf = match elrond::parse_elf(v.as_slice()) {
	Ok(x) => x,
	Err(e) => panic!("Could not read elf file {:?}", e)
};

This crate is fairly feature complete and standard conformant.

It doesn't support all the GNU extensions which you'll likely encounter in a modern Linux or OSX binary. But MOST of what you want is here.

Also the some standards documents disagree on if the HiOS and LoOS are an inclusive range, or just markers. I'm just treating them as unique markers. Incorrect values are passed as Unknown


This is still a work in progress but a lot of progress has been made