| 251 | } |
| 252 | |
| 253 | NTSTATUS MemUtil::HookedQueryVirtualMemory(LPVOID address, PMEMORY_BASIC_INFORMATION memoryBuffer, SIZE_T dwLength) |
| 254 | { |
| 255 | SIZE_T returnLength = 0; |
| 256 | return NtQueryVirtualMemory(GetCurrentProcess(), address, MemoryBasicInformation, memoryBuffer, dwLength, &returnLength); |
| 257 | } |
| 258 | |
| 259 | uint32_t MemUtil::GetTextSectionAddress() { |
| 260 | HMODULE hModule = GetModuleHandle(NULL); |
nothing calls this directly
no outgoing calls
no test coverage detected