diff options
Diffstat (limited to 'client/src/util/syscalls.cpp')
| -rw-r--r-- | client/src/util/syscalls.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/util/syscalls.cpp b/client/src/util/syscalls.cpp index 96036a3..a755d22 100644 --- a/client/src/util/syscalls.cpp +++ b/client/src/util/syscalls.cpp @@ -9,9 +9,9 @@ syscalls::syscalls() { m_call_table = VirtualAlloc(0, 0x100000, MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE); std::memset(m_call_table, 0x90, 0x100000); - io::log("syscalls call table : {:#x}", uintptr_t(m_call_table)); + io::log("syscalls call table : {:x}", uintptr_t(m_call_table)); - static auto nt = pe::virtual_image("ntdll.dll"); + static auto nt = pe::ntdll(); for (auto& exp : nt.exports()) { auto addr = exp.second; |