Struct gimli::read::PartialFrameDescriptionEntry
source · pub struct PartialFrameDescriptionEntry<'bases, Section, R>where
R: Reader,
Section: UnwindSection<R>,{ /* private fields */ }
Expand description
A partially parsed FrameDescriptionEntry
.
Fully parsing this FDE requires first parsing its CIE.
Implementations§
source§impl<'bases, Section, R> PartialFrameDescriptionEntry<'bases, Section, R>where
R: Reader,
Section: UnwindSection<R>,
impl<'bases, Section, R> PartialFrameDescriptionEntry<'bases, Section, R>where R: Reader, Section: UnwindSection<R>,
sourcepub fn parse<F>(&self, get_cie: F) -> Result<FrameDescriptionEntry<R>>where
F: FnMut(&Section, &BaseAddresses, Section::Offset) -> Result<CommonInformationEntry<R>>,
pub fn parse<F>(&self, get_cie: F) -> Result<FrameDescriptionEntry<R>>where F: FnMut(&Section, &BaseAddresses, Section::Offset) -> Result<CommonInformationEntry<R>>,
Fully parse this FDE.
You must provide a function get its associated CIE (either by parsing it on demand, or looking it up in some table mapping offsets to CIEs that you’ve already parsed, etc.)
Trait Implementations§
source§impl<'bases, Section, R> Clone for PartialFrameDescriptionEntry<'bases, Section, R>where
R: Reader + Clone,
Section: UnwindSection<R> + Clone,
R::Offset: Clone,
Section::Offset: Clone,
impl<'bases, Section, R> Clone for PartialFrameDescriptionEntry<'bases, Section, R>where R: Reader + Clone, Section: UnwindSection<R> + Clone, R::Offset: Clone, Section::Offset: Clone,
source§fn clone(&self) -> PartialFrameDescriptionEntry<'bases, Section, R>
fn clone(&self) -> PartialFrameDescriptionEntry<'bases, Section, R>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'bases, Section, R> Debug for PartialFrameDescriptionEntry<'bases, Section, R>where
R: Reader + Debug,
Section: UnwindSection<R> + Debug,
R::Offset: Debug,
Section::Offset: Debug,
impl<'bases, Section, R> Debug for PartialFrameDescriptionEntry<'bases, Section, R>where R: Reader + Debug, Section: UnwindSection<R> + Debug, R::Offset: Debug, Section::Offset: Debug,
source§impl<'bases, Section, R> PartialEq<PartialFrameDescriptionEntry<'bases, Section, R>> for PartialFrameDescriptionEntry<'bases, Section, R>where
R: Reader + PartialEq,
Section: UnwindSection<R> + PartialEq,
R::Offset: PartialEq,
Section::Offset: PartialEq,
impl<'bases, Section, R> PartialEq<PartialFrameDescriptionEntry<'bases, Section, R>> for PartialFrameDescriptionEntry<'bases, Section, R>where R: Reader + PartialEq, Section: UnwindSection<R> + PartialEq, R::Offset: PartialEq, Section::Offset: PartialEq,
source§fn eq(&self, other: &PartialFrameDescriptionEntry<'bases, Section, R>) -> bool
fn eq(&self, other: &PartialFrameDescriptionEntry<'bases, Section, R>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.