Struct object::Relocation
source · pub struct Relocation { /* private fields */ }
Expand description
A relocation entry.
Implementations§
source§impl Relocation
impl Relocation
sourcepub fn kind(&self) -> RelocationKind
pub fn kind(&self) -> RelocationKind
The kind of relocation.
sourcepub fn set_addend(&mut self, addend: i64)
pub fn set_addend(&mut self, addend: i64)
Set the addend to use in the relocation calculation.
sourcepub fn has_implicit_addend(&self) -> bool
pub fn has_implicit_addend(&self) -> bool
Returns true if there is an implicit addend stored in the data at the offset to be relocated.