Struct gimli::CommonInformationEntry [−][src]
pub struct CommonInformationEntry<Section, R, Offset = usize> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
Section: UnwindSection<R>,
Section::Offset: UnwindOffset<R::Offset>, { /* fields omitted */ }
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.
Methods
impl<Section, R, Offset> CommonInformationEntry<Section, R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
Section: UnwindSection<R>,
Section::Offset: UnwindOffset<R::Offset>,
[src]
impl<Section, R, Offset> CommonInformationEntry<Section, R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
Section: UnwindSection<R>,
Section::Offset: UnwindOffset<R::Offset>,
Signal Safe Methods
These methods are guaranteed not to allocate, acquire locks, or perform any other signal-unsafe operations.
pub fn offset(&self) -> Offset
[src]
pub fn offset(&self) -> Offset
Get the offset of this entry from the start of its containing section.
pub fn instructions(&self) -> CallFrameInstructionIter<R>
[src]
pub fn instructions(&self) -> CallFrameInstructionIter<R>
Iterate over this CIE's initial instructions.
Can be used with
FallibleIterator
.
pub fn entry_len(&self) -> Offset
[src]
pub fn entry_len(&self) -> Offset
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.
pub fn version(&self) -> u8
[src]
pub fn version(&self) -> u8
A version number (see Section 7.23). This number is specific to the call frame information and is independent of the DWARF version number.
pub fn augmentation(&self) -> Option<&Augmentation>
[src]
pub fn augmentation(&self) -> Option<&Augmentation>
Get the augmentation data, if any exists.
The only augmentation understood by gimli
is that which is defined by
.eh_frame
.
pub fn code_alignment_factor(&self) -> u64
[src]
pub fn code_alignment_factor(&self) -> u64
A constant that is factored out of all advance location instructions (see Section 6.4.2.1).
pub fn data_alignment_factor(&self) -> i64
[src]
pub fn data_alignment_factor(&self) -> i64
A constant that is factored out of certain offset instructions (see below). The resulting value is (operand * data_alignment_factor).
pub fn return_address_register(&self) -> u64
[src]
pub fn return_address_register(&self) -> u64
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<Section: Clone, R: Clone, Offset: Clone> Clone for CommonInformationEntry<Section, R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
Section: UnwindSection<R>,
Section::Offset: UnwindOffset<R::Offset>,
[src]
impl<Section: Clone, R: Clone, Offset: Clone> Clone for CommonInformationEntry<Section, R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
Section: UnwindSection<R>,
Section::Offset: UnwindOffset<R::Offset>,
fn clone(&self) -> CommonInformationEntry<Section, R, Offset>
[src]
fn clone(&self) -> CommonInformationEntry<Section, R, Offset>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<Section: Debug, R: Debug, Offset: Debug> Debug for CommonInformationEntry<Section, R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
Section: UnwindSection<R>,
Section::Offset: UnwindOffset<R::Offset>,
[src]
impl<Section: Debug, R: Debug, Offset: Debug> Debug for CommonInformationEntry<Section, R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
Section: UnwindSection<R>,
Section::Offset: UnwindOffset<R::Offset>,
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<Section: PartialEq, R: PartialEq, Offset: PartialEq> PartialEq for CommonInformationEntry<Section, R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
Section: UnwindSection<R>,
Section::Offset: UnwindOffset<R::Offset>,
[src]
impl<Section: PartialEq, R: PartialEq, Offset: PartialEq> PartialEq for CommonInformationEntry<Section, R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
Section: UnwindSection<R>,
Section::Offset: UnwindOffset<R::Offset>,
fn eq(&self, other: &CommonInformationEntry<Section, R, Offset>) -> bool
[src]
fn eq(&self, other: &CommonInformationEntry<Section, R, Offset>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &CommonInformationEntry<Section, R, Offset>) -> bool
[src]
fn ne(&self, other: &CommonInformationEntry<Section, R, Offset>) -> bool
This method tests for !=
.
impl<Section: Eq, R: Eq, Offset: Eq> Eq for CommonInformationEntry<Section, R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
Section: UnwindSection<R>,
Section::Offset: UnwindOffset<R::Offset>,
[src]
impl<Section: Eq, R: Eq, Offset: Eq> Eq for CommonInformationEntry<Section, R, Offset> where
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
Section: UnwindSection<R>,
Section::Offset: UnwindOffset<R::Offset>,
Auto Trait Implementations
impl<Section, R, Offset> Send for CommonInformationEntry<Section, R, Offset> where
Offset: Send,
R: Send,
Section: Send,
impl<Section, R, Offset> Send for CommonInformationEntry<Section, R, Offset> where
Offset: Send,
R: Send,
Section: Send,
impl<Section, R, Offset> Sync for CommonInformationEntry<Section, R, Offset> where
Offset: Sync,
R: Sync,
Section: Sync,
impl<Section, R, Offset> Sync for CommonInformationEntry<Section, R, Offset> where
Offset: Sync,
R: Sync,
Section: Sync,