pub struct SpoofConfig {
pub mode: SpoofMode,
pub prefer_ntdll: bool,
pub custom_spoof_addr: Option<usize>,
pub stack_pattern: Option<Vec<&'static str>>,
}Expand description
configuration for spoofed syscalls
Fields§
§mode: SpoofModespoofing mode to use
prefer_ntdll: boolprefer ntdll gadgets (most legitimate looking)
custom_spoof_addr: Option<usize>custom spoof address (for SimpleSpoof mode)
stack_pattern: Option<Vec<&'static str>>stack pattern to synthesize (for SyntheticStack mode)
Implementations§
Trait Implementations§
Source§impl Clone for SpoofConfig
impl Clone for SpoofConfig
Source§fn clone(&self) -> SpoofConfig
fn clone(&self) -> SpoofConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 SpoofConfig
impl Debug for SpoofConfig
Auto Trait Implementations§
impl Freeze for SpoofConfig
impl RefUnwindSafe for SpoofConfig
impl Send for SpoofConfig
impl Sync for SpoofConfig
impl Unpin for SpoofConfig
impl UnwindSafe for SpoofConfig
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