pub fn call_module_entry_point(
pe_info: PeMetadata,
module_base_address: usize,
) -> Result<(), String>Expand description
Calls the module’s entry point with the option DLL_ATTACH_PROCESS.
§Examples
ⓘ
let pe = manualmap::read_and_map_module("c:\\some\\random\\file.dll").unwrap();
let ret = dyncvoke_core::call_module_entry_point(pe.0, pe.1);
match ret
{
Ok(()) => println!("Module entry point successfully executed."),
Err(e) => println!("Error ocurred: {}", e)
}