3 ms·
The key difference being that Detours is a library written by Microsoft engineers with access to the Win32 team and the ability (if not drive) to ensure that De
by woodruffw 5y ago
The key difference being that Detours is a library written by Microsoft engineers with access to the Win32 team and the ability (if not drive) to ensure that Detours functions correctly as changes are made. Those changes are also probably pretty rare, given Win32’s famously stable ABI.
This library patches a third party runtime, one that explicitly forbids this kind of instrumentation and has a famously unstable ABI.
You can do whatever you want to get your job done, and this is certainly one way to do it, but it’s absolutely a dangerous hack.