Skip to main content

Module vmi

Module vmi 

Source
Expand description

Host-side Virtual Machine Introspection (VMI) for the guest Linux kernel inside wasmtime::SharedMemory.

Dynamically auto-calibrates Linux struct task_struct field offsets (comm, pid, tgid, real_parent) at boot from swapper/0, kthreadd, and kernel worker threads — requiring zero guest agents, zero kernel patches, and zero hardcoded offsets.

Because all inspection runs directly on SharedMemory in host Rust, guest root cannot detect, forge, or silence process monitoring, and VmiTracker::active_processes works even while the guest VM is completely frozen via crate::Vm::pause.

Structs§

ProcInfo
Guest Linux process metadata extracted directly from struct task_struct in SharedMemory.
TaskStructOffsets
VmiTracker
Untamperable host-side process tracker backed by SharedMemory introspection.