pub struct InitFunction {
pub kind: InitKind,
pub symbol_name: String,
pub address: u64,
pub module_path: ModulePath,
}Expand description
A located module init function.
address is a virtual address (image load space). To convert to an
RVA for disassembler use, call crate::NimBinary::init_rva.
Fields§
§kind: InitKindClassification.
symbol_name: StringThe raw symbol name.
address: u64Virtual address (image load space, not file offset).
module_path: ModulePathDecoded module path (filesystem path recovered from the mangled symbol name).
Trait Implementations§
Source§impl Clone for InitFunction
impl Clone for InitFunction
Source§fn clone(&self) -> InitFunction
fn clone(&self) -> InitFunction
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 InitFunction
impl RefUnwindSafe for InitFunction
impl Send for InitFunction
impl Sync for InitFunction
impl Unpin for InitFunction
impl UnsafeUnpin for InitFunction
impl UnwindSafe for InitFunction
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