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
impl Eq for SectionBaseAddresses
impl StructuralPartialEq for SectionBaseAddresses
Auto Trait Implementations§
impl Freeze for SectionBaseAddresses
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.