6 releases (1 stable)

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

#992 in Parser implementations


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