Struct gimli::read::SectionBaseAddresses
source · pub struct SectionBaseAddresses {
pub section: Option<u64>,
pub text: Option<u64>,
pub data: Option<u64>,
}
Expand description
Optional base addresses for the relative DW_EH_PE_*
encoded pointers
in a particular section.
See BaseAddresses
for methods that are helpful in setting these addresses.
Fields§
§section: Option<u64>
The address of the section containing the pointer.
text: Option<u64>
The base address for text relative pointers.
This is generally the address of the .text
section.
data: Option<u64>
The base address for data relative pointers.
For pointers in the .eh_frame_hdr
section, this is the address
of the .eh_frame_hdr
section
For pointers in the .eh_frame
section, this is generally the
global pointer, such as the address of the .got
section.
Trait Implementations§
source§impl Clone for SectionBaseAddresses
impl Clone for SectionBaseAddresses
source§fn clone(&self) -> SectionBaseAddresses
fn clone(&self) -> SectionBaseAddresses
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SectionBaseAddresses
impl Debug for SectionBaseAddresses
source§impl Default for SectionBaseAddresses
impl Default for SectionBaseAddresses
source§fn default() -> SectionBaseAddresses
fn default() -> SectionBaseAddresses
Returns the “default value” for a type. Read more
source§impl PartialEq<SectionBaseAddresses> for SectionBaseAddresses
impl PartialEq<SectionBaseAddresses> for SectionBaseAddresses
source§fn eq(&self, other: &SectionBaseAddresses) -> bool
fn eq(&self, other: &SectionBaseAddresses) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.