pub struct SymbolRelocation {
pub offset: usize,
pub symbol_name: String,
}Expand description
Represents a symbol that needs to be resolved and patched into the shellcode
Fields§
§offset: usizeThe offset within the shellcode where the address should be written
symbol_name: StringThe name of the symbol to resolve
Trait Implementations§
Source§impl Clone for SymbolRelocation
impl Clone for SymbolRelocation
Source§fn clone(&self) -> SymbolRelocation
fn clone(&self) -> SymbolRelocation
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 SymbolRelocation
impl RefUnwindSafe for SymbolRelocation
impl Send for SymbolRelocation
impl Sync for SymbolRelocation
impl Unpin for SymbolRelocation
impl UnsafeUnpin for SymbolRelocation
impl UnwindSafe for SymbolRelocation
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