Expand description
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()
.
Modules§
- error
- Define error types.
Structs§
- Common
Metadata - The common metadata representation.
- Hash
Table Segment - Hash table segment representation.
- ImageId
- Image ID representation.
- MbnHeader
V5 - MBN header version 5 representation.
- MbnHeader
V6 - MBN header version 6 representation.
- MbnHeader
V7 - MBN header version 7 representation.
- MbnHeader
V3Len40 - MBN header version 3 (40 bytes) representation.
- MbnHeader
V3Len80 - MBN header version 3 (80 bytes) representation.
- Metadata
Len120 - The 120 bytes QTI metadata and OEM metadata representation.
- Metadata
Len224 - The 224 bytes QTI metadata and OEM metadata representation.
- Padding
- Trailing padding of
HashTableSegment
. - QtiFlags
V6 - The
flags
field ofMetadataLen120
. - QtiFlags
V7 - The
flags
field ofMetadataLen224
. - QtiFlags
V6Builder - Builder for
QtiFlagsV6
. - QtiFlags
V7Builder - Builder for
QtiFlagsV7
.
Enums§
- Hash
Entry - Entry of hash table.
- MbnHeader
- MBN header representation.
- Metadata
- The QTI metadata and OEM metadata representation.
Constants§
- HEADER_
V3_ MAGIC - Magic number of
MbnHeaderV3Len80
.
Functions§
- from_
elf - Parse hash table segment from an ELF format binaries.