pub struct SFrameFlexControlData { /* private fields */ }Expand description
Flex FDE Control Data Word
For flexible FDE types (SFRAME_FDE_TYPE_FLEX), the variable-length bytes trailing an SFrame FRE are interpreted as pairs of Control Data and Offset Data for each tracked entity (CFA, RA, FP).
Ref: https://sourceware.org/binutils/docs-2.46/sframe-spec.html#Flexible-FDE-Type-Interpretation
Implementations§
Source§impl SFrameFlexControlData
impl SFrameFlexControlData
Sourcepub fn is_padding(&self) -> bool
pub fn is_padding(&self) -> bool
Check if this is a padding data word (value is 0)
A value of 0 indicates that no further data words follow for the tracked entity, meaning the fixed offsets apply or the entity is absent.
Sourcepub fn reg_p(&self) -> bool
pub fn reg_p(&self) -> bool
Register-based Location Rule
If true, the base is a DWARF register (encoded in regnum bits). If false, the base is the CFA (used for RA/FP recovery).
Trait Implementations§
Source§impl Clone for SFrameFlexControlData
impl Clone for SFrameFlexControlData
Source§fn clone(&self) -> SFrameFlexControlData
fn clone(&self) -> SFrameFlexControlData
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 moreSource§impl Debug for SFrameFlexControlData
impl Debug for SFrameFlexControlData
impl Copy for SFrameFlexControlData
Auto Trait Implementations§
impl Freeze for SFrameFlexControlData
impl RefUnwindSafe for SFrameFlexControlData
impl Send for SFrameFlexControlData
impl Sync for SFrameFlexControlData
impl Unpin for SFrameFlexControlData
impl UnwindSafe for SFrameFlexControlData
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