8 releases (3 stable)

1.0.2 Nov 19, 2024
1.0.0 Apr 25, 2024
0.3.2 Mar 7, 2024
0.2.0 Mar 7, 2024
0.1.0 Mar 6, 2024

#1373 in Parser implementations

Download history 13/week @ 2024-09-22 4/week @ 2024-09-29 2/week @ 2024-11-03 298/week @ 2024-11-17 16/week @ 2024-11-24

316 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