pub struct Module;
Implementations§
source§impl Module
impl Module
sourcepub fn find_export_by_name(
module_name: Option<&str>,
symbol_name: &str
) -> Option<NativePointer>
pub fn find_export_by_name( module_name: Option<&str>, symbol_name: &str ) -> Option<NativePointer>
The absolute address of the export. In the event that no such export could be found, returns NULL.
sourcepub fn find_symbol_by_name(
module_name: &str,
symbol_name: &str
) -> Option<NativePointer>
pub fn find_symbol_by_name( module_name: &str, symbol_name: &str ) -> Option<NativePointer>
The absolute address of the symbol. In the event that no such symbol could be found, returns NULL.
sourcepub fn find_base_address(module_name: &str) -> NativePointer
pub fn find_base_address(module_name: &str) -> NativePointer
Returns the base address of the specified module. In the event that no such module could be found, returns NULL.
sourcepub fn enumerate_ranges(
module_name: &str,
prot: PageProtection,
callout: impl FnMut(RangeDetails<'_>) -> bool
)
pub fn enumerate_ranges( module_name: &str, prot: PageProtection, callout: impl FnMut(RangeDetails<'_>) -> bool )
Enumerates memory ranges satisfying protection given.
sourcepub fn enumerate_modules() -> Vec<ModuleDetailsOwned>
pub fn enumerate_modules() -> Vec<ModuleDetailsOwned>
Enumerates modules.
sourcepub fn enumerate_exports(module_name: &str) -> Vec<ExportDetails>
pub fn enumerate_exports(module_name: &str) -> Vec<ExportDetails>
Enumerates exports in module.
sourcepub fn enumerate_symbols(module_name: &str) -> Vec<SymbolDetails>
pub fn enumerate_symbols(module_name: &str) -> Vec<SymbolDetails>
Enumerates symbols in module.
Auto Trait Implementations§
impl Freeze for Module
impl RefUnwindSafe for Module
impl Send for Module
impl Sync for Module
impl Unpin for Module
impl UnwindSafe for Module
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