pub struct AddressHook {
pub addresses: FxHashSet<u64>,
pub code: u64,
}Expand description
Stops before the guest instruction at each of a set of addresses, with
vm.interrupt(code, address).
Fields§
§addresses: FxHashSet<u64>§code: u64Implementations§
Source§impl AddressHook
impl AddressHook
pub fn new(addresses: impl IntoIterator<Item = u64>, code: u64) -> Self
Trait Implementations§
Source§impl Clone for AddressHook
impl Clone for AddressHook
Source§fn clone(&self) -> AddressHook
fn clone(&self) -> AddressHook
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AddressHook
impl Debug for AddressHook
Source§impl Hook for AddressHook
impl Hook for AddressHook
Auto Trait Implementations§
impl Freeze for AddressHook
impl RefUnwindSafe for AddressHook
impl Send for AddressHook
impl Sync for AddressHook
impl Unpin for AddressHook
impl UnsafeUnpin for AddressHook
impl UnwindSafe for AddressHook
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