pub enum SpoofMode {
Gadget,
SyntheticStack,
SimpleSpoof,
None,
}Expand description
mode of return address spoofing
Variants§
Gadget
use a gadget (jmp rbx/rax) for clean indirect jump
SyntheticStack
synthesize a fake stack frame chain
SimpleSpoof
simple return address replacement
None
no spoofing (falls back to indirect syscall)
Trait Implementations§
impl Copy for SpoofMode
impl Eq for SpoofMode
impl StructuralPartialEq for SpoofMode
Auto Trait Implementations§
impl Freeze for SpoofMode
impl RefUnwindSafe for SpoofMode
impl Send for SpoofMode
impl Sync for SpoofMode
impl Unpin for SpoofMode
impl UnwindSafe for SpoofMode
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