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]
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]
Get the offset of this entry from the start of its containing section.
pub fn instructions(&self) -> CallFrameInstructionIter<R>
[src]
Iterate over this CIE's initial instructions.
Can be used with
FallibleIterator
.
pub fn entry_len(&self) -> Offset
[src]
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]
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]
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]
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]
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]
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]
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
Section: UnwindSection<R>,
Section::Offset: UnwindOffset<R::Offset>,
fn clone(&self) -> CommonInformationEntry<Section, R, Offset>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
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]
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
Section: UnwindSection<R>,
Section::Offset: UnwindOffset<R::Offset>,
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
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]
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
Section: UnwindSection<R>,
Section::Offset: UnwindOffset<R::Offset>,
fn eq(&self, __arg_0: &CommonInformationEntry<Section, R, Offset>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &CommonInformationEntry<Section, R, Offset>) -> bool
[src]
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]
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,
Offset: Send,
R: Send,
Section: Send,
impl<Section, R, Offset> Sync for CommonInformationEntry<Section, R, Offset> where
Offset: Sync,
R: Sync,
Section: Sync,
Offset: Sync,
R: Sync,
Section: Sync,