# stevemk14ebr/PolyHook_2_0

C++20, x86/x64 Hooking Libary v2.0

Repository: https://github.com/stevemk14ebr/PolyHook_2_0
Canonical: https://ross.abutalabs.com/products/polyhook_2_0
Language: C++
License: MIT
License Family: permissive
Last push: 2026-06-29T23:29:00+00:00

## Health v2 (maintenance only)
Score: 73/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 90, release rhythm 35, longevity 100
- inputs: {"age_days": 3454, "days_push": 65, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1890, forks 254 (observed 2026-08-28T04:05:49.514037+00:00)

## What it is
PolyHook 2.0 is a C++20 library for hooking functions at runtime on x86 and x64 architectures. It supports multiple hooking techniques (inline, detours, virtual table, exception-based) and integrates disassemblers like Capstone and Zydis plus AsmJit for code generation.

## Use cases
- hook a C++ function at runtime on x64
- intercept Windows API calls
- build a game mod that detours engine functions
- instrument native code for research
- hook functions in a WOW64 subsystem
- redirect calls to a target address with a trampoline

## When to choose
- you need low-level x86/x64 function hooking in C++
- you want multiple hooking strategies in one library
- you need cross-platform (Windows/Linux) hooking support
- you want a vcpkg-installable hooking library

## When to avoid
- you only need managed/.NET or Java method hooking
- you need a high-level instrumentation framework like Frida with scripting
- your target architecture is ARM
- you want a pure-header library without dependencies

## Facets
- artifact type: library
- maturity: active
- function: security, reverse-engineering, developer-tools
- domain: security, reverse-engineering, developer-tools, operating-systems
- platform: windows, cpp, cross-platform
- tags: function-hooking, detours, inline-hooking, x86, x64, c++20, disassembly, capstone, zydis, asmjit, linux

## Member repositories
- stevemk14ebr/PolyHook_2_0 (main) score 73

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:49.514037+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:13:04.887757+00:00, confidence not recorded.
  - readme: https://github.com/stevemk14ebr/PolyHook_2_0 (fetched 2026-08-28T04:05:49.514037+00:00, sha de2e423a5a63)
- Data as of 2026-08-30T08:39:29.467469+00:00.
