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<EndianBuf<'input, Endian>> where
Endian: Endianity,
[src]
Endian: Endianity,
fn new(section: &'input [u8], endian: Endian) -> Self
[src]
Constructs a new EhFrameHdr
instance from the data in the .eh_frame_hdr
section.
impl<R: Reader> EhFrameHdr<R>
[src]
fn parse(
&self,
bases: &BaseAddresses,
addr_size: u8
) -> Result<ParsedEhFrameHdr<R>>
[src]
&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]
fn clone(&self) -> EhFrameHdr<R>
[src]
Returns a copy of the value. Read more
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: Debug + Reader> Debug for EhFrameHdr<R>
[src]
impl<R: PartialEq + Reader> PartialEq for EhFrameHdr<R>
[src]
fn eq(&self, __arg_0: &EhFrameHdr<R>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &EhFrameHdr<R>) -> bool
[src]
This method tests for !=
.
impl<R: Eq + Reader> Eq for EhFrameHdr<R>
[src]
impl<R: Reader> Section<R> for EhFrameHdr<R>
[src]
fn section_name() -> &'static str
[src]
Returns the ELF section name for this type.