3 ms·
Detours is a library for instrumenting arbitrary Win32 functions Windows-compatible processors. Detours intercepts Win32 functions by re-writing the in-memory c
by coldtea 3y ago
Detours is a library for instrumenting arbitrary Win32 functions Windows-compatible processors. Detours intercepts Win32 functions by re-writing the in-memory code for target functions. The Detours package also contains utilities to attach arbitrary DLLs and data segments (called payloads) to any Win32 binary.
Detours preserves the un-instrumented target function (callable through a trampoline) as a subroutine for use by the instrumentation. Our trampoline design enables a large class of innovative extensions to existing binary software.
https://www.microsoft.com/en-us/research/project/detours/ https://www.microsoft.com/en-us/research/project/detours/
- IshKebab 3y agoInteresting. Has anyone done the same thing on Linux?
- alaxapta7 3y agoI use and recommend subhook[0]. [0] https://github.com/Zeex/subhook https://github.com/Zeex/subhook
- jaclaz 3y agoOnly for the record, there is also easyhook: https://easyhook.github.io/ https://easyhook.github.io/ https://easyhook.github.io/#features https://easyhook.github.io/#features https://github.com/EasyHook/EasyHook https://github.com/EasyHook/EasyHook
- stevemk14ebr 3y agoAnd my more sophisticated library, https://github.com/stevemk14ebr/PolyHook_2_0 https://github.com/stevemk14ebr/PolyHook_2_0