pub struct HookInfo {
pub function_name: String,
pub function_address: usize,
pub hook_type: HookType,
pub hook_destination: Option<usize>,
pub original_bytes: Vec<u8>,
pub hooked_bytes: Vec<u8>,
pub module_name: String,
}Expand description
information about a detected hook
Fields§
§function_name: Stringname of hooked function
function_address: usizeaddress of function start
hook_type: HookTypetype of hook detected
hook_destination: Option<usize>where the hook redirects to (if determinable)
original_bytes: Vec<u8>original bytes at function start (if available from clean copy)
hooked_bytes: Vec<u8>current bytes at function start
module_name: Stringmodule containing the function
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HookInfo
impl RefUnwindSafe for HookInfo
impl Send for HookInfo
impl Sync for HookInfo
impl Unpin for HookInfo
impl UnwindSafe for HookInfo
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