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

pub fn new(
    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

pub fn parse(
    &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> Copy for EhFrameHdr<R> where
    R: Copy + Reader

impl<R> Debug for EhFrameHdr<R> where
    R: Debug + Reader

impl<R> Eq for EhFrameHdr<R> where
    R: Eq + Reader

impl<R> From<R> for EhFrameHdr<R> where
    R: Reader

impl<R> PartialEq<EhFrameHdr<R>> for EhFrameHdr<R> where
    R: PartialEq<R> + Reader

impl<R> Section<R> for EhFrameHdr<R> where
    R: Reader

impl<R> StructuralEq 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> Send for EhFrameHdr<R> where
    R: Send

impl<R> Sync for EhFrameHdr<R> where
    R: Sync

impl<R> Unpin for EhFrameHdr<R> where
    R: Unpin

impl<R> UnwindSafe for EhFrameHdr<R> where
    R: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[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]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.