pub struct FunctionSymbol {
pub address: u64,
pub name: Option<String>,
pub is_external: bool,
pub library: Option<String>,
}Expand description
A known function start address extracted from an ELF symbol table.
Fields§
§address: u64Virtual address of the function.
name: Option<String>Name from the string table, if present.
is_external: boolWhether this is an external (imported) function stub (e.g. a PLT thunk).
library: Option<String>For an external stub, the shared library its symbol-version requirement
(.gnu.version_r) names, e.g. libc.so.6. None for unversioned
imports (the format does not tie those to a specific DT_NEEDED entry).
Trait Implementations§
Source§impl Clone for FunctionSymbol
impl Clone for FunctionSymbol
Source§fn clone(&self) -> FunctionSymbol
fn clone(&self) -> FunctionSymbol
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FunctionSymbol
impl RefUnwindSafe for FunctionSymbol
impl Send for FunctionSymbol
impl Sync for FunctionSymbol
impl Unpin for FunctionSymbol
impl UnsafeUnpin for FunctionSymbol
impl UnwindSafe for FunctionSymbol
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