Expand description
Core VMI functionality.
Re-exports§
pub use self::arch::Architecture;pub use self::arch::Registers;pub use self::core::AccessContext;pub use self::core::AddressContext;pub use self::core::Gfn;pub use self::core::MemoryAccess;pub use self::core::MemoryAccessOptions;pub use self::core::Pa;pub use self::core::TranslationMechanism;pub use self::core::Va;pub use self::core::VcpuId;pub use self::core::View;pub use self::core::VmiInfo;pub use self::core::VmiVa;pub use self::ctx::VmiContext;pub use self::ctx::VmiOsContext;pub use self::ctx::VmiOsState;pub use self::ctx::VmiProber;pub use self::ctx::VmiSession;pub use self::ctx::VmiSessionPauseGuard;pub use self::ctx::VmiState;pub use self::driver::VmiDriver;pub use self::driver::VmiEventControl;pub use self::driver::VmiFullDriver;pub use self::driver::VmiMemory;pub use self::driver::VmiProtection;pub use self::driver::VmiQueryProtection;pub use self::driver::VmiQueryRegisters;pub use self::driver::VmiRead;pub use self::driver::VmiReadAccess;pub use self::driver::VmiRegisters;pub use self::driver::VmiSetProtection;pub use self::driver::VmiSetRegisters;pub use self::driver::VmiViewControl;pub use self::driver::VmiVmControl;pub use self::driver::VmiWrite;pub use self::driver::VmiWriteAccess;pub use self::error::VmiError;pub use self::event::VmiEvent;pub use self::event::VmiEventAction;pub use self::event::VmiEventFlags;pub use self::event::VmiEventResponse;pub use self::handler::VmiHandler;pub use self::handler::VmiHandlerExt;pub use self::handler::VmiTerminationHandler;pub use self::os::VmiOs;pub use self::os::VmiOsExt;pub use self::page::VmiMappedPage;
Modules§
- arch
- Architecture abstraction
- driver
- VMI driver trait hierarchy.
- os
- OS introspection
- trace
- Field-shaped accessors for
#[tracing::instrument(fields(...))].
Macros§
Structs§
- Access
Context - Defines the context for memory access operations in VMI.
- Address
Context - A complete address context within a system for virtual to physical address translation.
- Gfn
- A Guest Frame Number.
- Memory
Access - Memory access permission flags.
- Memory
Access Options - Options for controlling memory access monitoring.
- Pa
- A Guest Physical Address.
- Va
- A Guest Virtual Address.
- VcpuId
- A virtual CPU identifier.
- View
- A physical memory view identifier.
- VmiContext
- A VMI context.
- VmiCore
- The core functionality for Virtual Machine Introspection (VMI).
- VmiEvent
- An event that occurred during VMI.
- VmiEvent
Flags - Flags that can be set in a VMI event.
- VmiEvent
Response - A response to a VMI event.
- VmiInfo
- Represents information about the VMI.
- VmiMapped
Page - A page of memory that has been mapped from the guest virtual machine.
- VmiOs
Context - Wrapper providing access to OS-specific operations.
- VmiOs
State - Wrapper providing access to OS-specific operations.
- VmiPause
Guard - A guard that pauses the virtual machine on creation and resumes it on drop.
- VmiProber
- Batches the page faults raised by a sequence of memory reads so they can be injected together, while skipping pages already known to be unserviceable.
- VmiSession
- A VMI session.
- VmiSession
Pause Guard - A guard that pauses the virtual machine and snapshots the boot CPU registers on creation, then resumes the VM on drop.
- VmiState
- A VMI state.
- VmiTermination
Handler - Handler that interrupts another handler at a deadline or once a termination flag is set.
Enums§
- Translation
Mechanism - The mechanism used for translating virtual addresses to physical addresses.
- VmiError
- An error that can occur when working with the VMI.
- VmiEvent
Action - The primary action to take when resuming from a VMI event.
Traits§
- VmiHandler
- A trait for handling VMI events.
- VmiHandler
Ext - Extension methods on
VmiHandler. - VmiVa
- A trait for types that have a virtual address.