pub struct Snapshot {
pub allocations: HashMap<u64, Allocation>,
pub executable_regions: HashMap<u64, ExecutableRegion>,
}
Expand description
Contains all the data received over a SnapshotReceiver
channel.
Fields§
§allocations: HashMap<u64, Allocation>
All the live allocations in the analyzed process, indexed by memory address.
executable_regions: HashMap<u64, ExecutableRegion>
All the executable memory regions in the analyzed process, indexed by start address.
Implementations§
Source§impl Snapshot
impl Snapshot
Sourcepub async fn receive_from(
stream: SnapshotReceiverRequestStream,
) -> Result<Snapshot, Error>
pub async fn receive_from( stream: SnapshotReceiverRequestStream, ) -> Result<Snapshot, Error>
Receives data over a SnapshotReceiver
channel and reassembles it.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Snapshot
impl RefUnwindSafe for Snapshot
impl !Send for Snapshot
impl !Sync for Snapshot
impl Unpin for Snapshot
impl UnwindSafe for Snapshot
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more