Module ilhook::x86

source ·
Expand description

The x86 hooker

Structs

  • Hook flags
  • The hook result returned by Hooker::hook.
  • The entry struct in ilhook. Please read the main doc to view usage.
  • The common registers.

Enums

Traits

  • 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 Aliases

  • This is the routine used in a jmp-back hook, which means the EIP will jump back to the original position after the routine has finished running.
  • This is the routine used in a jmp-addr hook, which means the EIP will jump to the specified address after the routine has finished running.
  • This is the routine used in a jmp-ret hook, which means the EIP will jump to the return value of the routine.
  • This is 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 address being hooked must be the start of a function.