pub struct FakeFrame {
pub return_address: usize,
pub saved_rbp: usize,
pub extra_values: Vec<usize>,
pub description: &'static str,
}Expand description
a single fake stack frame
Fields§
§return_address: usizereturn address (points into a legitimate module)
saved_rbp: usizesaved RBP value (points to previous frame or 0)
extra_values: Vec<usize>any additional values to push for this frame (local variables/saved regs)
description: &'static strdescription of what this frame represents
Implementations§
Source§impl FakeFrame
impl FakeFrame
Sourcepub const fn simple(
return_address: usize,
saved_rbp: usize,
description: &'static str,
) -> Self
pub const fn simple( return_address: usize, saved_rbp: usize, description: &'static str, ) -> Self
create a simple frame with just return address and saved rbp
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FakeFrame
impl RefUnwindSafe for FakeFrame
impl Send for FakeFrame
impl Sync for FakeFrame
impl Unpin for FakeFrame
impl UnwindSafe for FakeFrame
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