[][src]Module ilhook::x86

The x86 hooker

Structs

HookFlags

Hook flags

HookPoint

The hook result returned by Hooker::hook.

Hooker

The entry struct in ilhook. Please read the main doc to view usage.

Registers

The common registers.

Enums

CallbackOption

Option for thread callback

HookType

The hooking type.

Traits

ThreadCallback

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.

Type Definitions

JmpBackRoutine

The routine used in a jmp-back hook, which means the EIP will jump back to the original position after the Routine being run.

JmpToAddrRoutine

The routine used in a jmp-addr hook, which means the EIP will jump to the specified address after the Routine being run.

JmpToRetRoutine

The routine used in a jmp-ret hook, which means the EIP will jump to the return value of the Routine.

RetnRoutine

The routine used in a function hook, which means the Routine will replace the original FUNCTION, and the EIP will retn directly instead of jumping back. Note that the being-hooked address must be the head of a function.