pub struct RelocationInfo {
pub vaddr: u64,
pub r_type: u32,
pub sym_idx: u64,
pub addend: i64,
pub sym_size: u64,
}Expand description
Relocation metadata for testing and verification Relocation metadata for testing and verification.
Fields§
§vaddr: u64Virtual address where the relocation is applied.
r_type: u32Architecture-specific relocation type.
sym_idx: u64Index of the symbol in the dynamic symbol table.
addend: i64Addend for the relocation.
sym_size: u64Size of the referenced symbol (useful for COPY relocations).
Trait Implementations§
Source§impl Clone for RelocationInfo
impl Clone for RelocationInfo
Source§fn clone(&self) -> RelocationInfo
fn clone(&self) -> RelocationInfo
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for RelocationInfo
impl RefUnwindSafe for RelocationInfo
impl Send for RelocationInfo
impl Sync for RelocationInfo
impl Unpin for RelocationInfo
impl UnwindSafe for RelocationInfo
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