Skip to main content

Crate wazabin_binary

Crate wazabin_binary 

Source
Expand description

Binary container formats and the BinaryFormat trait.

This is a leaf crate below qcode: it holds the Arch enum, the TargetOs enum, and the ELF/PE/blob container parsers behind a single BinaryFormat trait. qcode re-exports TargetOs and (in Stage 2b) implements BinaryFormat for its serializable MemoryImage; harbinger re-exports this crate as harbinger::format and harbinger::arch::Arch.

Modules§

blob
elf
pe

Enums§

Arch
TargetOs
The operating system of a loaded binary, inferred from its container format.

Traits§

BinaryFormat
A trait representing a loaded binary image with one or more mapped regions and one or more known entry points.

Functions§

is_printable_ascii_byte
Return true when b is a printable ASCII byte.
printable_byte
Map a byte to its printable ASCII representation.