Expand description
§Get-Proc-Address-rs
get_proc_address provides a rust native alternative to GetProcAddress
§Example
use get_proc_address_rs::get_proc_address;
let pointer = get_proc_address("kernel32.dll", "IsDebuggerPresent").unwrap();
unsafe {
let is_debugger_present: IsDebuggerPresent = std::mem::transmute(pointer);
let being_debugged = is_debugger_present();
assert!(!being_debugged);
}Re-exports§
pub use win_types::*;
Modules§
Functions§
- fetch_
peb_ offset - Fetches the PEB offset by offsetting from gs
- get_
proc_ address - Takes in the dll and function names and returns a pointer to the function.