[][src]Trait ilhook::x64::ThreadCallback

pub trait ThreadCallback {
    fn pre(&self) -> bool;
fn post(&self); }

The trait which is called before and after the modifying of the jmp instruction. Usually is used to suspend and resume all other threads, to avoid instruction colliding.

Required methods

fn pre(&self) -> bool

the callback before modifying jmp instruction, should return true if success.

fn post(&self)

the callback after modifying jmp instruction

Loading content...

Implementors

Loading content...