Crate vivisect

Source

Modules§

analysis
archive
Implements a simple parser and extractor for a Unix Archive.
constants
container
Binary container size information and byte-order context
context
elf
The generic ELF module, which gives access to ELF constants and other helper functions, which are independent of ELF bithood. Also defines an Elf struct which implements a unified parser that returns a wrapped Elf64 or Elf32 binary.
elf32
The ELF 32-bit struct definitions and associated values, re-exported for easy “type-punning”
elf64
The ELF 64-bit struct definitions and associated values, re-exported for easy “type-punning”
emulator
envi
error
A custom Goblin error
ihex
impapi
mach
The Mach-o, mostly zero-copy, binary format parser and raw struct definitions
memory
monitor
page_lookup
parser
pe
A PE32 and PE32+ parser
strtab
A byte-offset based string table. Commonly used in ELF binaries, Unix archives, and even PE binaries.
utils
vstruct
workspace

Structs§

HintData
Information obtained from a peek Hint

Enums§

Hint
A hint at the underlying binary format for 16 bytes of arbitrary data
Object
A parseable object that we understands

Functions§

peek
Peeks at the underlying Read object. Requires the underlying bytes to have at least 16 byte length. Resets the seek to Start after reading.
peek_bytes
Peeks at bytes, and returns a Hint