pub struct CallSite {
pub return_offset: u64,
pub flags: CallSiteFlags,
pub match_regex: Vec<Vec<u8>>,
}Expand description
Metadata for a call instruction’s return address.
match_regex names the callees that may return to this
address, so a stack walker can check it against the frame above. This crate
stores and returns the patterns without interpreting them.
Fields§
§return_offset: u64Return-address offset relative to the containing function start.
flags: CallSiteFlagsClassification bits retained from the input.
match_regex: Vec<Vec<u8>>Regular-expression strings describing possible callees.
Trait Implementations§
impl Eq for CallSite
Source§impl Ord for CallSite
impl Ord for CallSite
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for CallSite
impl PartialOrd for CallSite
impl StructuralPartialEq for CallSite
Auto Trait Implementations§
impl Freeze for CallSite
impl RefUnwindSafe for CallSite
impl Send for CallSite
impl Sync for CallSite
impl Unpin for CallSite
impl UnsafeUnpin for CallSite
impl UnwindSafe for CallSite
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