pub struct StackGuard {
pub guard_size: usize,
pub canary_value: u64,
pub red_zone: usize,
}
Expand description
Stack guard configuration
Fields§
§guard_size: usize
Guard pages at bottom of stack (in bytes)
canary_value: u64
Canary values for overflow detection
red_zone: usize
Red zone size (bytes below stack pointer that must not be used)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StackGuard
impl RefUnwindSafe for StackGuard
impl Send for StackGuard
impl Sync for StackGuard
impl Unpin for StackGuard
impl UnwindSafe for StackGuard
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