Skip to content

polyhook2v2025-06-21

Updated

C++17, x86/x64 Hooking Library v2.0

#Supported Platforms

(x86 | x64) & !(uwp | osx)

  • linux
  • windows-x64
  • windows-x86
  • osx
  • uwp
  • windows-arm64

#Features

Default features: exception, pe, detours, inlinentd, virtuals

#detoursdefault

Implement detour functionality

Dependencies:
and one transitive dependency:
Host Dependencies:
2 transitive dependencies:

#exception

Implement all exception hooking functionality

Dependencies:

No dependencies.

Host Dependencies:

No dependencies.

#inlinentddefault

Support inline hooks without specifying typedefs by generating callback stubs at runtime with AsmJit

Dependencies:

No transitive dependencies.

Host Dependencies:
2 transitive dependencies:

#pe

Implement all win pe hooking functionality

Dependencies:

No dependencies.

Host Dependencies:

No dependencies.

#virtualsdefault

Implement all virtual table hooking functionality

Dependencies:

No dependencies.

Host Dependencies:

No dependencies.

#Dependencies

and one transitive dependency:

#Host Dependencies

No transitive dependencies.

#Used By

No ports use this.

#Host Tool For

No ports use this.

#Contributors

  • NancyLi1013's avatarNancyLi1013
  • xeropresence's avatarxeropresence
  • Matthias C. M. Troffaes's avatarMatthias C. M. Troffaes
  • Stephen Eckels's avatarStephen Eckels
  • ζeh Matt's avatarζeh Matt
  • Billy O'Neal's avatarBilly O'Neal
  • acidicoala's avataracidicoala
  • Jia Yue Hua's avatarJia Yue Hua
  • Alexander Neumann's avatarAlexander Neumann
  • autoantwort's avatarautoantwort
  • Summpot's avatarSummpot
  • Jakub Melka's avatarJakub Melka

#Changelog

  • 727a28a[polyhook2] Update Polyhook to 2025-06-21 (#46120)
  • f08f5fc[Asmjit ] Asmjit update - Following pull request #39090 (#39630)
  • 0a7d997[polyhook2] Update to 2024-02-08 (#37866)
  • a557975[polyhook2] Update polyhook2 (#33124)
  • e36a5c0[polyhook2] fix core feature (#33324)
  • 92bad87[polyhook2] Fix static linkage for downstream consumers. (#32455)
  • 45287bd[zydis,polyhook2] update to v4.0, 2023-05-16 (#31909)
  • 229c0c7update asmjit, fbgemm, polyhook2, start asmtk (#27683)
  • f9f18a0[polyhook2] Update to latest (2022-03-01) (#23338)
  • a260ebdUpdate to latest (2022-02-21) (#23203)
Show 16 earlier changes