Struct gimli::FrameDescriptionEntry[][src]

pub struct FrameDescriptionEntry<Section, R, Offset = usize> where
    R: Reader<Offset = Offset>,
    Offset: ReaderOffset,
    Section: UnwindSection<R>,
    Section::Offset: UnwindOffset<R::Offset>, 
{ /* fields omitted */ }

A FrameDescriptionEntry is a set of CFA instructions for an address range.

Methods

impl<Section, R, Offset> FrameDescriptionEntry<Section, R, Offset> where
    R: Reader<Offset = Offset>,
    Offset: ReaderOffset,
    Section: UnwindSection<R>,
    Section::Offset: UnwindOffset<R::Offset>, 
[src]

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.

Get a reference to this FDE's CIE.

A constant that gives the number of bytes of the header and instruction stream for this function, 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.

Iterate over this FDE's instructions.

Will not include the CIE's initial instructions, if you want those do fde.cie().instructions() first.

Can be used with FallibleIterator.

The first address for which this entry has unwind information for.

The number of bytes of instructions that this entry has unwind information for.

Return true if the given address is within this FDE, false otherwise.

This is equivalent to entry.initial_address() <= address < entry.initial_address() + entry.len().

The address of this FDE's language-specific data area (LSDA), if it has any.

Return true if this FDE's function is a trampoline for a signal handler.

Return the address of the FDE's function's personality routine handler. The personality routine does language-specific clean up when unwinding the stack frames with the intent to not run them again.

Trait Implementations

impl<Section: Clone, R: Clone, Offset: Clone> Clone for FrameDescriptionEntry<Section, R, Offset> where
    R: Reader<Offset = Offset>,
    Offset: ReaderOffset,
    Section: UnwindSection<R>,
    Section::Offset: UnwindOffset<R::Offset>, 
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<Section: Debug, R: Debug, Offset: Debug> Debug for FrameDescriptionEntry<Section, R, Offset> where
    R: Reader<Offset = Offset>,
    Offset: ReaderOffset,
    Section: UnwindSection<R>,
    Section::Offset: UnwindOffset<R::Offset>, 
[src]

Formats the value using the given formatter. Read more

impl<Section: PartialEq, R: PartialEq, Offset: PartialEq> PartialEq for FrameDescriptionEntry<Section, R, Offset> where
    R: Reader<Offset = Offset>,
    Offset: ReaderOffset,
    Section: UnwindSection<R>,
    Section::Offset: UnwindOffset<R::Offset>, 
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<Section: Eq, R: Eq, Offset: Eq> Eq for FrameDescriptionEntry<Section, R, Offset> where
    R: Reader<Offset = Offset>,
    Offset: ReaderOffset,
    Section: UnwindSection<R>,
    Section::Offset: UnwindOffset<R::Offset>, 
[src]

Auto Trait Implementations

impl<Section, R, Offset> Send for FrameDescriptionEntry<Section, R, Offset> where
    Offset: Send,
    R: Send,
    Section: Send

impl<Section, R, Offset> Sync for FrameDescriptionEntry<Section, R, Offset> where
    Offset: Sync,
    R: Sync,
    Section: Sync