| Microsoft Detours | |
|---|---|
| Original author | Microsoft Research |
| Developer | Microsoft |
| Initial release | January 16, 2002; 24 years ago (2002-01-16) |
| Stable release | 4.0.1 / April 16, 2018; 7 years ago (2018-04-16) |
| Written in | C++ |
| Operating system | Microsoft Windows |
| Type | Software library |
| License | MIT License |
| Website | Official website |
| Repository | Detours onGitHub |
Microsoft Detours is anopen source library for intercepting, monitoring and instrumenting binary functions onMicrosoft Windows.[1] It is developed byMicrosoft and is most commonly used to interceptWin32 API calls within Windows applications. Detours makes it possible to adddebugging instrumentation and to attach arbitraryDLLs to any existing Win32 binary. Detours does not require othersoftware frameworks as a dependency and works onARM,x86,x64, andIA-64 systems.[2] The interception code is applied dynamically atexecution time.
Detours is used by product teams at Microsoft and has also been used byISVs.[1][3][4]
Prior to 2016, Detours was available in a free version limited for non-commercial and 32 bit only use and a paid version for commercial use.[5] Since 2016, the source code is licensed underMIT License and available onGitHub.[1]