pub struct Reloc {
pub r_offset: u64,
pub r_addend: Option<i64>,
pub r_sym: usize,
pub r_type: u32,
}
Expand description
A unified ELF relocation structure
Fields
r_offset: u64
Address
r_addend: Option<i64>
Addend
r_sym: usize
The index into the corresponding symbol table - either dynamic or regular
r_type: u32
The relocation type
Implementations
Trait Implementations
impl Copy for Reloc
impl StructuralPartialEq for Reloc
Auto Trait Implementations
impl RefUnwindSafe for Reloc
impl Send for Reloc
impl Sync for Reloc
impl Unpin for Reloc
impl UnwindSafe for Reloc
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