microsoft/Detours

Detours is a software package for monitoring and instrumenting API calls on Windows. It is distributed in source code form.

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 53 minutes ago
Added to GitGenius on September 10th, 2026
Created on October 19th, 2016
Open Issues & Pull Requests: 93 (+0)
GitHub issues: Enabled
Number of forks: 1,169
Total Stargazers: 6,383 (+0)
Total Subscribers: 166 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 24.2 days
Mean response time: 250.1 days
90th percentile: 962.8 days
Tracked items: 40

How this project is maintained

91% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Three people close 92% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 23
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 825 days
Stale 30+ days: 23
Stale 90+ days: 17

Recent activity

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

Top labels

  • bug (24)
  • question (19)
  • enhancement (2)
  • help-wanted (2)
  • needs-author-feedback (2)
  • status-no recent activity (2)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Detours is a software package for monitoring and instrumenting API calls on Windows.

The tool intercepts function calls at runtime by patching executable code, allowing developers to observe, modify, or redirect API behavior without changing source code. This approach works by inserting detour code that redirects execution to user-defined handlers before the original function runs, enabling deep inspection and manipulation of Windows API interactions.

Detours suits scenarios where runtime API monitoring is needed without recompilation, such as debugging, profiling, security analysis, or adding instrumentation to existing binaries. It is particularly valuable for developers working with legacy code or third-party libraries where source modification is impractical. The tool operates at the binary level on Windows, making it applicable to any executable that uses standard Windows APIs.

Development activity shows consistent engagement with the codebase. The project accepts community contributions through established processes and maintains responsiveness to issues raised by users. Code changes are reviewed and integrated regularly, indicating active stewardship of the repository.