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]
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
Section: UnwindSection<R>,
Section::Offset: UnwindOffset<R::Offset>,
fn cie(&self) -> &CommonInformationEntry<Section, R, R::Offset>
Get a reference to this FDE's CIE.
fn instructions(&self) -> CallFrameInstructionIter<R>
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
.
fn contains(&self, address: u64) -> bool
Return true
if the given address is within this FDE, false
otherwise.
fn lsda(&self) -> Option<Pointer>
The address of this FDE's language-specific data area (LSDA), if it has any.
fn is_signal_trampoline(&self) -> bool
Return true if this FDE's function is a trampoline for a signal handler.
fn personality(&self) -> Option<Pointer>
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]
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
Section: UnwindSection<R>,
Section::Offset: UnwindOffset<R::Offset>,
fn clone(&self) -> FrameDescriptionEntry<Section, R, Offset>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
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]
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
Section: UnwindSection<R>,
Section::Offset: UnwindOffset<R::Offset>,
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]
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
Section: UnwindSection<R>,
Section::Offset: UnwindOffset<R::Offset>,
fn eq(&self, __arg_0: &FrameDescriptionEntry<Section, R, Offset>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &FrameDescriptionEntry<Section, R, Offset>) -> bool
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]
R: Reader<Offset = Offset>,
Offset: ReaderOffset,
Section: UnwindSection<R>,
Section::Offset: UnwindOffset<R::Offset>,