[−]Struct symbolic::debuginfo::dwarf::gimli::EhFrameHdr
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,
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,
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: Reader + Clone,
R: Reader + Clone,
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: Reader + Copy,
R: Reader + Copy,
impl<R> Debug for EhFrameHdr<R> where
R: Reader + Debug,
R: Reader + Debug,
impl<R> Eq for EhFrameHdr<R> where
R: Reader + Eq,
R: Reader + Eq,
impl<R> From<R> for EhFrameHdr<R> where
R: Reader,
R: Reader,
pub fn from(section: R) -> EhFrameHdr<R>
impl<R> PartialEq<EhFrameHdr<R>> for EhFrameHdr<R> where
R: Reader + PartialEq<R>,
R: Reader + PartialEq<R>,
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,
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,
R: Reader,
impl<R> StructuralPartialEq for EhFrameHdr<R> where
R: Reader,
R: Reader,
Auto Trait Implementations
impl<R> RefUnwindSafe for EhFrameHdr<R> where
R: RefUnwindSafe,
[src]
R: RefUnwindSafe,
impl<R> Send for EhFrameHdr<R> where
R: Send,
[src]
R: Send,
impl<R> Sync for EhFrameHdr<R> where
R: Sync,
[src]
R: Sync,
impl<R> Unpin for EhFrameHdr<R> where
R: Unpin,
[src]
R: Unpin,
impl<R> UnwindSafe for EhFrameHdr<R> where
R: UnwindSafe,
[src]
R: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<!> for T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,