memflow 0.2.0-beta9

core components of the memflow physical memory introspection framework
Documentation
/*!
Module containing basic connector and inventory related functions.

This module provides basic building blocks when building connectors.
It contains a file i/o and memory mapped file interface
as well as a interface for interfacing with buffers.

This module also contains functions to interface with dynamically loaded connectors.
The inventory system is feature gated behind the `inventory` feature.
*/

// TODO: move all of this in a helper module and only keep the connector plugin stuff
#[cfg(feature = "std")]
pub mod fileio;
#[doc(hidden)]
#[cfg(feature = "std")]
pub use fileio::{CloneFile, FileIoMemory};

#[cfg(feature = "filemap")]
pub mod filemap;
#[cfg(feature = "filemap")]
pub use filemap::{
    MmapInfo, MmapInfoMut, ReadMappedFilePhysicalMemory, WriteMappedFilePhysicalMemory,
};

pub mod mmap;
#[doc(hidden)]
pub use mmap::MappedPhysicalMemory;

pub mod cpu_state;
#[doc(hidden)]
pub use cpu_state::{ConnectorCpuState, ConnectorCpuStateInner, CpuState};
#[doc(hidden)]
#[cfg(feature = "plugins")]
pub use cpu_state::{CpuStateArcBox, IntoCpuStateArcBox};