Detours icon indicating copy to clipboard operation
Detours copied to clipboard

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

Results 114 Detours issues
Sort by recently updated
recently updated
newest added

When I try to build sample in vcpkg's download detours code(v4.0.1-2f7d798f9a) , I meet same `build error: C2065: 'GetThreadLocale'` as #202 and #240 , although there is [fix](https://github.com/microsoft/Detours/commit/c89449a12470e7efe0518d8af062c934f636f1b9#diff-446d52d5e28f864320cf9ebb7acdc538566de36a09cab28050c834ea0eb09273R4322) by add...

needs-author-feedback
status-no recent activity

for example, create a c++ console project, create many threads to call CreateFileW,ReadFile,CloseHandle and create serveral threads to execute Hook and Unhook CreateFileW and ReadFile function every 100 milliseconds. it...

bug
needs-attention :wave:

fix can not use createwith api to start all kinds of .net exe, like https://github.com/Microsoft/Detours/files/2918112/DotNetAppTest.zip in #54 this commit revert "Improved Detours logic for detection of 32bit processes (#104)" ,...

bug

I need to use Detours in a project so the simplest answer is "use Detours' nuget package" - except that doesn't exist :-( I tried adding Detours source into my...

enhancement
question

https://github.com/microsoft/Detours/blob/45a76a359989aa0ce037440449976a777fd01e63/src/detours.cpp#L1157 shouldn't br not be checking to match 0xd61f0000 ???? see here: https://developer.arm.com/documentation/ddi0596/2020-12/Base-Instructions/BR--Branch-to-Register-

This change is largely about being able to control the import ordinal set in `UPDATE_IMPORTS_XX`, but also includes a new function `DetourUpdateDllWithDll` which is similar to `DetourUpdateProcessWithDllEx`. Additional parameters for...

enhancement
needs-attention :wave:

I notice that both `DetourUpdateThread` and `DetourTransactionCommit` use `new` and `delete` in their code. Assuming these eventually translate to calls to `GlobalAlloc` and `GlobalFree`, isn't it possible for deadlock to...

bug

The method used to allocate trampolines in Detours does not avoid memory fragmentation, which is especially important on platforms where the virtual address space is scarce (like x86). In this...

The Code that hook and unhook RtlCompareMemory() with deoutrhooks library Has been Used for years without any issue,but the unhook procedure fails on windows server 2022(Windows Vista to Windows server...

Instructions ============ When using DetourCreateProcessWithDllEx, I found some EXE (for example, the x86 console I developed) success, some (usually are some third party business program) failed. The DLL.cpp code I...

question