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 for SectionBaseAddresses
impl PartialEq 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 ==
.impl Eq for SectionBaseAddresses
impl StructuralEq for SectionBaseAddresses
impl StructuralPartialEq for SectionBaseAddresses
Auto Trait Implementations§
impl RefUnwindSafe for SectionBaseAddresses
impl Send for SectionBaseAddresses
impl Sync for SectionBaseAddresses
impl Unpin for SectionBaseAddresses
impl UnwindSafe for SectionBaseAddresses
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more