mirror-ac/driver/util.h
donnaskiez ea2278e7b3
internal refactoring (#14)
- Refactor process list. New implementation consists of a hashmap. Each process entry then contains the associated user modules.
- Implement user module integrity checks on timer callback
2024-06-09 17:22:22 +10:00

23 lines
No EOL
554 B
C

#ifndef UTIL_H
#define UTIL_H
#include "common.h"
LARGE_INTEGER
GenerateRandSeed();
NTSTATUS
MapAndReadPhysical(_In_ UINT64 PhysicalAddress,
_In_ UINT32 ReadLength,
_Out_ PVOID OutputBuffer,
_In_ UINT32 OutputBufferLength);
NTSTATUS
UnicodeToCharBufString(_In_ PUNICODE_STRING UnicodeString,
_Out_ PVOID OutBuffer,
_In_ UINT32 OutBufferSize);
VOID
DumpBufferToKernelDebugger(_In_ PCHAR Buffer, _In_ UINT32 BufferLength);
#endif