Struct gimli::read::CommonInformationEntry
source · [−]pub struct CommonInformationEntry<R, Offset = <R as Reader>::Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset, { /* private fields */ }
Expand description
A Common Information Entry holds information that is shared among many Frame Description Entries. There is at least one CIE in every non-empty
.debug_frame
section.
Implementations
Signal Safe Methods
These methods are guaranteed not to allocate, acquire locks, or perform any other signal-unsafe operations.
Get the offset of this entry from the start of its containing section.
The size of addresses (in bytes) in this CIE.
pub fn instructions<'a, Section>(
&self,
section: &'a Section,
bases: &'a BaseAddresses
) -> CallFrameInstructionIter<'a, R> where
Section: UnwindSection<R>,
pub fn instructions<'a, Section>(
&self,
section: &'a Section,
bases: &'a BaseAddresses
) -> CallFrameInstructionIter<'a, R> where
Section: UnwindSection<R>,
Iterate over this CIE’s initial instructions.
Can be used with
FallibleIterator
.
A constant that gives the number of bytes of the CIE structure, not including the length field itself (see Section 7.2.2). The size of the length field plus the value of length must be an integral multiple of the address size.
A version number (see Section 7.23). This number is specific to the call frame information and is independent of the DWARF version number.
Get the augmentation data, if any exists.
The only augmentation understood by gimli
is that which is defined by
.eh_frame
.
Return the encoding of the LSDA address for this CIE’s FDEs.
Return the encoding and address of the personality routine handler for this CIE’s FDEs.
Return the address of the personality routine handler for this CIE’s FDEs.
Return the encoding of the addresses for this CIE’s FDEs.
True if this CIE’s FDEs are trampolines for signal handlers.
A constant that is factored out of all advance location instructions (see Section 6.4.2.1).
A constant that is factored out of certain offset instructions (see below). The resulting value is (operand * data_alignment_factor).
An unsigned … constant that indicates which column in the rule table represents the return address of the function. Note that this column might not correspond to an actual machine register.
Trait Implementations
impl<R: Clone, Offset: Clone> Clone for CommonInformationEntry<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
impl<R: Clone, Offset: Clone> Clone for CommonInformationEntry<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
impl<R: Debug, Offset: Debug> Debug for CommonInformationEntry<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
impl<R: Debug, Offset: Debug> Debug for CommonInformationEntry<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
impl<R: PartialEq, Offset: PartialEq> PartialEq<CommonInformationEntry<R, Offset>> for CommonInformationEntry<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
impl<R: PartialEq, Offset: PartialEq> PartialEq<CommonInformationEntry<R, Offset>> for CommonInformationEntry<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<R: Eq, Offset: Eq> Eq for CommonInformationEntry<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
impl<R, Offset> StructuralEq for CommonInformationEntry<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
impl<R, Offset> StructuralPartialEq for CommonInformationEntry<R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
Auto Trait Implementations
impl<R, Offset> RefUnwindSafe for CommonInformationEntry<R, Offset> where
Offset: RefUnwindSafe,
R: RefUnwindSafe,
impl<R, Offset> Send for CommonInformationEntry<R, Offset> where
Offset: Send,
R: Send,
impl<R, Offset> Sync for CommonInformationEntry<R, Offset> where
Offset: Sync,
R: Sync,
impl<R, Offset> Unpin for CommonInformationEntry<R, Offset> where
Offset: Unpin,
R: Unpin,
impl<R, Offset> UnwindSafe for CommonInformationEntry<R, Offset> where
Offset: UnwindSafe,
R: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more