tsudakageyu/minhook

The Minimalistic x86/x64 API Hooking Library for Windows

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 33 minutes ago
Added to GitGenius on September 11th, 2026
Created on May 10th, 2013
Open Issues & Pull Requests: 54 (+0)
GitHub issues: Enabled
Number of forks: 1,082
Total Stargazers: 5,980 (+0)
Total Subscribers: 133 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 4.1 days
Mean response time: 123.6 days
90th percentile: 313.7 days
Tracked items: 28

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 5% of issues opened in the past year have been closed. Three people close 77% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 26
New in 7 days: 0
Closed in 7 days: 2
Avg open age: 608 days
Stale 30+ days: 26
Stale 90+ days: 24

Recent activity

Opened in 7 days: 0
Closed in 7 days: 2
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

Detailed Description

MinHook is a minimalistic x86/x64 API hooking library for Windows.

The library addresses the need to intercept and redirect Windows API calls at runtime. It works by patching target functions with jump instructions that redirect execution to user-defined hook functions, then allow the original function to be called through a trampoline. The approach handles the complexity of instruction displacement and thread safety by suspending all threads during hook installation and removal, and provides helper functions to batch multiple hook operations efficiently.

Developers should choose MinHook for projects requiring lightweight API interception without external dependencies. It suits applications that need to monitor or modify system behavior at the API level, such as debugging tools, security software, or compatibility layers. The library is written in plain C to minimize footprint and memory usage, making it suitable for resource-constrained environments. It supports both Visual Studio and MinGW toolchains, and can be built with CMake.

The project maintains active development with recent improvements to error handling for thread enumeration and suspension, alongside expanded compiler support including Visual Studio 2022 and Clang.