diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-02-27 19:17:58 +0000 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-02-27 19:17:58 +0000 |
| commit | 03d7651916304e35a7f47027e7f1b58f618ed05d (patch) | |
| tree | a7afd81cff9f9340e7f13d477bd34e25a269ddf9 /src/plugins/HookSystem.hpp | |
| parent | c5d741fb39416f6e2fd35cabe1afbd87f510058b (diff) | |
Plugin Hooks: fix original bytes on %rip accesses
Diffstat (limited to 'src/plugins/HookSystem.hpp')
| -rw-r--r-- | src/plugins/HookSystem.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/HookSystem.hpp b/src/plugins/HookSystem.hpp index 0ff7f888..b871a379 100644 --- a/src/plugins/HookSystem.hpp +++ b/src/plugins/HookSystem.hpp @@ -33,6 +33,8 @@ class CFunctionHook { std::vector<std::pair<size_t, std::string>> m_vTrampolineRIPUses; + void* m_pOriginalBytes = nullptr; + size_t probeMinimumJumpSize(void* start, size_t min); size_t getInstructionLenAt(void* start); |
