Skip to main content

Module test_builders

Module test_builders 

Source
Expand description

Synthetic dump builders for unit tests.

These are only compiled when cfg(test) is active or when explicitly depended on by other test modules.

This is test-fixture infrastructure (a pub mod so integration tests can reach it), so panic-on-failure via unwrap/expect is the intended behavior — a broken fixture should fail loudly, not silently degrade.

Structs§

AvmlBuilder
Build a synthetic AVML dump byte-by-byte.
CrashDumpBuilder
Build a synthetic Windows 64-bit crash dump (_DUMP_HEADER64).
ElfCoreBuilder
Build a synthetic ELF core dump for testing.
HiberfilBuilder
Build a synthetic Windows hibernation file (hiberfil.sys).
KdumpBuilder
Build a synthetic kdump (makedumpfile) dump for testing.
LimeBuilder
Build a synthetic LiME dump byte-by-byte.
VmwareStateBuilder
Build a synthetic VMware .vmss/.vmsn state file.