This is a cleanup and refactoring of the interception code on windows
Enhancement:
- Adding the support for 64-bits code
- Adding several hooking technique:
- Detour
- JumpRedirect
- HotPatch
- Trampoline
- Adding a trampoline memory pool (64-bits) and release the allocated memory in unittests
Cleanup:
- Adding unittests for 64-bits hooking techniques
- Enhancing the RoundUpInstruction by sharing common decoder
Maybe CHECK(offset >= INT_MIN && offset <= INT_MAX) or an equivalent?