diff options
| author | auth12 <[email protected]> | 2020-07-27 09:46:17 -0700 |
|---|---|---|
| committer | auth12 <[email protected]> | 2020-07-27 09:46:17 -0700 |
| commit | a2e89fde1acc5b189c55e0b8b38146194e455cd0 (patch) | |
| tree | 1f130027975733e0704a583aebb1a1832a22ec11 /client/src/util/syscalls.h | |
| parent | Compile fix. (diff) | |
| download | loader-a2e89fde1acc5b189c55e0b8b38146194e455cd0.tar.xz loader-a2e89fde1acc5b189c55e0b8b38146194e455cd0.zip | |
Removed spdlog, using fmt wrapper instead.
More process class changes, support for 32/64bit processes.
Injection process improvements.
Other small changes.
Diffstat (limited to 'client/src/util/syscalls.h')
| -rw-r--r-- | client/src/util/syscalls.h | 5 |
1 files changed, 4 insertions, 1 deletions
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<T>(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 |