pub struct FrameTemplate {
pub name: &'static str,
pub module: &'static str,
pub function: &'static str,
pub offset: usize,
pub extra_slots: usize,
pub description: &'static str,
}Expand description
template for generating fake frames based on known call patterns
Fields§
§name: &'static strname of this template (e.g., “CreateFileW -> NtCreateFile”)
module: &'static strmodule containing the return address
function: &'static strfunction name for the return address
offset: usizeoffset from function start (to look like mid-function return)
extra_slots: usizenumber of extra stack slots this frame uses
description: &'static strdescription
Implementations§
Trait Implementations§
Source§impl Clone for FrameTemplate
impl Clone for FrameTemplate
Source§fn clone(&self) -> FrameTemplate
fn clone(&self) -> FrameTemplate
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 moreAuto Trait Implementations§
impl Freeze for FrameTemplate
impl RefUnwindSafe for FrameTemplate
impl Send for FrameTemplate
impl Sync for FrameTemplate
impl Unpin for FrameTemplate
impl UnwindSafe for FrameTemplate
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