From 03d7651916304e35a7f47027e7f1b58f618ed05d Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Mon, 27 Feb 2023 19:17:58 +0000 Subject: Plugin Hooks: fix original bytes on %rip accesses --- src/plugins/HookSystem.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/plugins/HookSystem.hpp') 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> m_vTrampolineRIPUses; + void* m_pOriginalBytes = nullptr; + size_t probeMinimumJumpSize(void* start, size_t min); size_t getInstructionLenAt(void* start); -- cgit v1.2.3