pub struct Probing<'a> {
pub probe: &'a Probe,
pub branch: &'a BranchInsts,
pub scratch: [PhysReg; 2],
}Expand description
What a prologue that takes its frame a page at a time needs beyond the frame.
What -fstack-clash-protection asks for, and the same three kinds of thing Protect is:
one fact about the platform, one about the machine, and two registers that are neither. See
rucc_target::Probe for what the sequence is defending against.
Fields§
§probe: &'a ProbeWhat touches a page and how far apart the pages are.
branch: &'a BranchInstsWhat a branch on a register is, which is what the loop under a large frame ends with.
scratch: [PhysReg; 2]The two registers the sequence may use, which are two the allocator never handed out.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Probing<'a>
impl<'a> RefUnwindSafe for Probing<'a>
impl<'a> Send for Probing<'a>
impl<'a> Sync for Probing<'a>
impl<'a> Unpin for Probing<'a>
impl<'a> UnsafeUnpin for Probing<'a>
impl<'a> UnwindSafe for Probing<'a>
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