Struct gimli::EhFrameHdr [−][src]
pub struct EhFrameHdr<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.
Methods
impl<'input, Endian> EhFrameHdr<EndianSlice<'input, Endian>> where
Endian: Endianity,
[src]
impl<'input, Endian> EhFrameHdr<EndianSlice<'input, Endian>> where
Endian: Endianity,
pub fn new(section: &'input [u8], endian: Endian) -> Self
[src]
pub fn new(section: &'input [u8], endian: Endian) -> Self
Constructs a new EhFrameHdr
instance from the data in the .eh_frame_hdr
section.
impl<R: Reader> EhFrameHdr<R>
[src]
impl<R: Reader> EhFrameHdr<R>
pub fn parse(
&self,
bases: &BaseAddresses,
addr_size: u8
) -> Result<ParsedEhFrameHdr<R>>
[src]
pub fn parse(
&self,
bases: &BaseAddresses,
addr_size: u8
) -> Result<ParsedEhFrameHdr<R>>
Parses this EhFrameHdr
to a ParsedEhFrameHdr
.
Trait Implementations
impl<R: Clone + Reader> Clone for EhFrameHdr<R>
[src]
impl<R: Clone + Reader> Clone for EhFrameHdr<R>
fn clone(&self) -> EhFrameHdr<R>
[src]
fn clone(&self) -> EhFrameHdr<R>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<R: Copy + Reader> Copy for EhFrameHdr<R>
[src]
impl<R: Copy + Reader> Copy for EhFrameHdr<R>
impl<R: Debug + Reader> Debug for EhFrameHdr<R>
[src]
impl<R: Debug + Reader> Debug for EhFrameHdr<R>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<R: PartialEq + Reader> PartialEq for EhFrameHdr<R>
[src]
impl<R: PartialEq + Reader> PartialEq for EhFrameHdr<R>
fn eq(&self, other: &EhFrameHdr<R>) -> bool
[src]
fn eq(&self, other: &EhFrameHdr<R>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &EhFrameHdr<R>) -> bool
[src]
fn ne(&self, other: &EhFrameHdr<R>) -> bool
This method tests for !=
.
impl<R: Eq + Reader> Eq for EhFrameHdr<R>
[src]
impl<R: Eq + Reader> Eq for EhFrameHdr<R>
impl<R: Reader> Section<R> for EhFrameHdr<R>
[src]
impl<R: Reader> Section<R> for EhFrameHdr<R>
fn section_name() -> &'static str
[src]
fn section_name() -> &'static str
Returns the ELF section name for this type.
impl<R: Reader> From<R> for EhFrameHdr<R>
[src]
impl<R: Reader> From<R> for EhFrameHdr<R>
Auto Trait Implementations
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,