Struct symbolic::debuginfo::dwarf::gimli::read::EhFrameHdr [−]
pub struct EhFrameHdr<R>(_)
where
R: Reader;
EhFrameHdr
contains the information about the .eh_frame_hdr
section.
A pointer to the start of the .eh_frame
data, and optionally, a binary
search table of pointers to the .eh_frame
records that are found in this section.
Implementations
impl<'input, Endian> EhFrameHdr<EndianSlice<'input, Endian>> where
Endian: Endianity,
impl<'input, Endian> EhFrameHdr<EndianSlice<'input, Endian>> where
Endian: Endianity,
pub fn new(
section: &'input [u8],
endian: Endian
) -> EhFrameHdr<EndianSlice<'input, Endian>>
section: &'input [u8],
endian: Endian
) -> EhFrameHdr<EndianSlice<'input, Endian>>
Constructs a new EhFrameHdr
instance from the data in the .eh_frame_hdr
section.
impl<R> EhFrameHdr<R> where
R: Reader,
impl<R> EhFrameHdr<R> where
R: Reader,
pub fn parse(
&self,
bases: &BaseAddresses,
address_size: u8
) -> Result<ParsedEhFrameHdr<R>, Error>
&self,
bases: &BaseAddresses,
address_size: u8
) -> Result<ParsedEhFrameHdr<R>, Error>
Parses this EhFrameHdr
to a ParsedEhFrameHdr
.
Trait Implementations
impl<R> Clone for EhFrameHdr<R> where
R: Clone + Reader,
impl<R> Clone for EhFrameHdr<R> where
R: Clone + Reader,
pub fn clone(&self) -> EhFrameHdr<R>
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<R> Copy for EhFrameHdr<R> where
R: Copy + Reader,
impl<R> Copy for EhFrameHdr<R> where
R: Copy + Reader,
impl<R> Debug for EhFrameHdr<R> where
R: Debug + Reader,
impl<R> Debug for EhFrameHdr<R> where
R: Debug + Reader,
impl<R> Eq for EhFrameHdr<R> where
R: Eq + Reader,
impl<R> Eq for EhFrameHdr<R> where
R: Eq + Reader,
impl<R> From<R> for EhFrameHdr<R> where
R: Reader,
impl<R> From<R> for EhFrameHdr<R> where
R: Reader,
pub fn from(section: R) -> EhFrameHdr<R>
impl<R> PartialEq<EhFrameHdr<R>> for EhFrameHdr<R> where
R: PartialEq<R> + Reader,
impl<R> PartialEq<EhFrameHdr<R>> for EhFrameHdr<R> where
R: PartialEq<R> + Reader,
pub fn eq(&self, other: &EhFrameHdr<R>) -> bool
pub fn ne(&self, other: &EhFrameHdr<R>) -> bool
impl<R> Section<R> for EhFrameHdr<R> where
R: Reader,
impl<R> Section<R> for EhFrameHdr<R> where
R: Reader,
pub fn id() -> SectionId
pub fn reader(&self) -> &R
pub fn section_name() -> &'static str
pub fn dwo_section_name() -> Option<&'static str>
pub fn load<F, E>(f: F) -> Result<Self, E> where
F: FnOnce(SectionId) -> Result<R, E>,
F: FnOnce(SectionId) -> Result<R, E>,
pub fn lookup_offset_id(
&self,
id: ReaderOffsetId
) -> Option<(SectionId, <R as Reader>::Offset)> where
R: Reader,
&self,
id: ReaderOffsetId
) -> Option<(SectionId, <R as Reader>::Offset)> where
R: Reader,
impl<R> StructuralEq for EhFrameHdr<R> where
R: Reader,
impl<R> StructuralEq for EhFrameHdr<R> where
R: Reader,
impl<R> StructuralPartialEq for EhFrameHdr<R> where
R: Reader,
impl<R> StructuralPartialEq for EhFrameHdr<R> where
R: Reader,
Auto Trait Implementations
impl<R> RefUnwindSafe for EhFrameHdr<R> where
R: RefUnwindSafe,
impl<R> RefUnwindSafe for EhFrameHdr<R> where
R: RefUnwindSafe,
impl<R> Send for EhFrameHdr<R> where
R: Send,
impl<R> Send for EhFrameHdr<R> where
R: Send,
impl<R> Sync for EhFrameHdr<R> where
R: Sync,
impl<R> Sync for EhFrameHdr<R> where
R: Sync,
impl<R> Unpin for EhFrameHdr<R> where
R: Unpin,
impl<R> Unpin for EhFrameHdr<R> where
R: Unpin,
impl<R> UnwindSafe for EhFrameHdr<R> where
R: UnwindSafe,
impl<R> UnwindSafe for EhFrameHdr<R> where
R: UnwindSafe,