[][src]Struct gimli::read::CommonInformationEntry

pub struct CommonInformationEntry<R, Offset = <R as Reader>::Offset> where
    R: Reader<Offset = Offset>,
    Offset: ReaderOffset
{ /* 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<R: Reader> CommonInformationEntry<R>[src]

Signal Safe Methods

These methods are guaranteed not to allocate, acquire locks, or perform any other signal-unsafe operations.

pub fn offset(&self) -> R::Offset[src]

Get the offset of this entry from the start of its containing section.

pub fn encoding(&self) -> Encoding[src]

Return the encoding parameters for this CIE.

pub fn address_size(&self) -> u8[src]

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>, 
[src]

Iterate over this CIE's initial instructions.

Can be used with FallibleIterator.

pub fn entry_len(&self) -> R::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 has_lsda(&self) -> bool[src]

True if this CIE's FDEs have a LSDA.

pub fn lsda_encoding(&self) -> Option<DwEhPe>[src]

Return the encoding of the LSDA address for this CIE's FDEs.

pub fn personality_with_encoding(&self) -> Option<(DwEhPe, Pointer)>[src]

Return the encoding and address of the personality routine handler for this CIE's FDEs.

pub fn personality(&self) -> Option<Pointer>[src]

Return the address of the personality routine handler for this CIE's FDEs.

pub fn fde_address_encoding(&self) -> Option<DwEhPe>[src]

Return the encoding of the addresses for this CIE's FDEs.

pub fn is_signal_trampoline(&self) -> bool[src]

True if this CIE's FDEs are trampolines for signal handlers.

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) -> Register[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<R: Clone, Offset: Clone> Clone for CommonInformationEntry<R, Offset> where
    R: Reader<Offset = Offset>,
    Offset: ReaderOffset
[src]

impl<R: Debug, Offset: Debug> Debug for CommonInformationEntry<R, Offset> where
    R: Reader<Offset = Offset>,
    Offset: ReaderOffset
[src]

impl<R: Eq, Offset: Eq> Eq for CommonInformationEntry<R, Offset> where
    R: Reader<Offset = Offset>,
    Offset: ReaderOffset
[src]

impl<R: PartialEq, Offset: PartialEq> PartialEq<CommonInformationEntry<R, Offset>> for CommonInformationEntry<R, Offset> where
    R: Reader<Offset = Offset>,
    Offset: ReaderOffset
[src]

impl<R, Offset> StructuralEq for CommonInformationEntry<R, Offset> where
    R: Reader<Offset = Offset>,
    Offset: ReaderOffset
[src]

impl<R, Offset> StructuralPartialEq for CommonInformationEntry<R, Offset> where
    R: Reader<Offset = Offset>,
    Offset: ReaderOffset
[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.