6 releases (1 stable)

new 1.0.0 Apr 25, 2024
0.3.2 Mar 7, 2024
0.2.0 Mar 7, 2024
0.1.0 Mar 6, 2024

#1400 in Parser implementations

Download history 390/week @ 2024-03-04 26/week @ 2024-03-11 6/week @ 2024-04-01 138/week @ 2024-04-22

144 downloads per month
Used in mbn-cli

MIT/Apache

80KB
2K SLoC

mbn

Library for parsing MBN format.

Basically, it's a Rust rewrite of the relevant parts of libopenpst.

MBN format information comes from coreboot.

Check out the documentation page for details.

Here is a CLI tool available, and, it is also the best example of this library.


lib.rs:

MBN format parsing library.

NOTE: Extension of files with MBN segment may be elf. Files with extension mbn are almost ELF format files.

Parse from an ELF format file, see [from_elf()].

Parse from byte stream, see [HashTableSegment::parse()].

Dump to byte stream, see [HashTableSegment::dump()].

Dependencies

~435KB