Elrond
To use
Add this to your Cargo.toml
[dependencies]
elrond = "1.0.0"
Code Example
extern crate elrond;
use *;
let mut v = Vec with_capacity;
let _ = my_file.read_to_end?;
let elf = match parse_elf ;
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