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
sourceimpl Clone for SectionBaseAddresses
impl Clone for SectionBaseAddresses
sourcefn clone(&self) -> SectionBaseAddresses
fn clone(&self) -> SectionBaseAddresses
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SectionBaseAddresses
impl Debug for SectionBaseAddresses
sourceimpl Default for SectionBaseAddresses
impl Default for SectionBaseAddresses
sourcefn default() -> SectionBaseAddresses
fn default() -> SectionBaseAddresses
Returns the “default value” for a type. Read more
sourceimpl PartialEq<SectionBaseAddresses> for SectionBaseAddresses
impl PartialEq<SectionBaseAddresses> for SectionBaseAddresses
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &SectionBaseAddresses) -> bool
fn ne(&self, other: &SectionBaseAddresses) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more