Detours
Detours copied to clipboard
don't break stack walking
Detouring a function should not break our ability to walk the call stack.
On X64, suggest that we require the Detour to reside in MEM_IMAGE so that Windows has access to the compiler generated function information necessary for unwinding. This will prevent surprises.