-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Refactor: Replace uintptr_t addresses with uint8_t* This fixes instances where unsigned integer overflow could occur when calculating new displacements and uint8_t*'s are generally just easier to work with. * Fix: Improve memory store safety by avoiding unaligned stores * VmtHook: Initial unittest concept * VmtHook: Start stubbing out the implementation * VmtHook: Initial MVP * VmtHook: Use a concept for function pointers NOTE: 32-bit MSVC doesn't like static __thiscall function pointers * VmtHook: Maintain RTTI information when hooked * VmtHook: Have hooks inherit from their targets * VmtHook: Use a shared Allocation to improve safety * VmtHook: Add apply & remove to hook/unhook other object instances * VmtHook: Improve virtual method counting * Utility: Add is_executable utility to replace IsBadCodePtr * VmtHook: Add easy API for hooking methods * VmtHook: Add documentation
- Loading branch information
Showing
13 changed files
with
748 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,6 @@ | |
|
||
#include <cstdint> | ||
#include <functional> | ||
#include <vector> | ||
|
||
#include <Windows.h> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.