No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assembly
crypto
detour
misc
platform
string
.gitattributes
LICENSE
README.md

README.md

hooklib

A small and simple header-only hooking library for x86 / x64 architecture

Note: I did not write this by myself, it was created in cooperation with @dro and @melanite. The original repository was deleted, this is a reupload.

features

  • Length disassembly using the capstone library
  • Header-only, no building or binaries required
  • Follow absolute and relative JMP to real function
  • Follow JMP gate to real function
  • Import Address Table hooking on Windows
  • Raw code detours for x86
  • Raw code detours for x64
  • Variable amount of raw code detour methods to fit size circumstances
  • Overwriting padding if no detour method fits the functions size

todo

  • Export Address Table hooking on Windows
  • Exception handler based hooking