by drdexebtjl · 1mo ago · 0 comments
Also, missing from this explanation: hooks are usually applied per process, from user space. The code pages in a dynamic library are CoW’d from the shared page when you write to them to apply a patch.
Does the Windows Update work similarly, or does it somehow modify the original, shared page, affecting all processes? Does a hook in a single process disable hot patching on the entire system?
https://en.wikipedia.org/wiki/MinWin
https://techcommunity.microsoft.com/blog/windowsosplatform/o...
Detours like technology is used in API Sets, to redirect legacy DLLS into the new refactored ones.
https://learn.microsoft.com/en-us/windows/win32/apiindex/win...
https://learn.microsoft.com/en-us/windows/win32/apiindex/api...