diff options
Diffstat (limited to 'src/plugins/HookSystem.hpp')
| -rw-r--r-- | src/plugins/HookSystem.hpp | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/src/plugins/HookSystem.hpp b/src/plugins/HookSystem.hpp index 93ca4ff5..801d950e 100644 --- a/src/plugins/HookSystem.hpp +++ b/src/plugins/HookSystem.hpp @@ -20,19 +20,18 @@ class CFunctionHook { CFunctionHook& operator=(const CFunctionHook&) = delete; CFunctionHook& operator=(CFunctionHook&&) = delete; - void* m_pOriginal = nullptr; + void* m_original = nullptr; private: - void* m_pSource = nullptr; - void* m_pFunctionAddr = nullptr; - void* m_pTrampolineAddr = nullptr; - void* m_pDestination = nullptr; - size_t m_iHookLen = 0; - size_t m_iTrampoLen = 0; - HANDLE m_pOwner = nullptr; - bool m_bActive = false; + void* m_source = nullptr; + void* m_trampolineAddr = nullptr; + void* m_destination = nullptr; + size_t m_hookLen = 0; + size_t m_trampoLen = 0; + HANDLE m_owner = nullptr; + bool m_active = false; - void* m_pOriginalBytes = nullptr; + void* m_originalBytes = nullptr; struct SInstructionProbe { size_t len = 0; @@ -60,7 +59,7 @@ class CHookSystem { void removeAllHooksFrom(HANDLE handle); private: - std::vector<UP<CFunctionHook>> m_vHooks; + std::vector<UP<CFunctionHook>> m_hooks; uint64_t getAddressForTrampo(); @@ -70,7 +69,7 @@ class CHookSystem { uint64_t used = 0; }; - std::vector<SAllocatedPage> pages; + std::vector<SAllocatedPage> m_pages; friend class CFunctionHook; }; |
