From a2e89fde1acc5b189c55e0b8b38146194e455cd0 Mon Sep 17 00:00:00 2001 From: auth12 <67507608+auth12@users.noreply.github.com> Date: Mon, 27 Jul 2020 09:46:17 -0700 Subject: Removed spdlog, using fmt wrapper instead. More process class changes, support for 32/64bit processes. Injection process improvements. Other small changes. --- client/src/util/syscalls.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'client/src/util/syscalls.h') diff --git a/client/src/util/syscalls.h b/client/src/util/syscalls.h index 45d0ee1..713e24c 100644 --- a/client/src/util/syscalls.h +++ b/client/src/util/syscalls.h @@ -8,7 +8,6 @@ class syscalls { public: syscalls(); ~syscalls(); - void init(); bool valid(const uintptr_t func, const size_t& size); uint16_t get_index(const uintptr_t va, uint16_t& offset); size_t func_size(const uint8_t* func); @@ -17,6 +16,10 @@ public: T get(const std::string_view func) { return reinterpret_cast(uintptr_t(m_call_table) + (m_indexes[func.data()].first * m_stub.size())); }; + + uintptr_t operator()() { + return uintptr_t(m_call_table); + } }; extern syscalls g_syscalls; \ No newline at end of file -- cgit v1.2.3