Panoptes 1.0.0
Endpoint Detection and Response
Loading...
Searching...
No Matches
Test_NtAllocateVirtualMemory.cpp File Reference

Go to the source code of this file.

Typedefs

typedef NTSTATUS(NTAPI * NtAllocateVirtualMemoryEx_t) (HANDLE ProcessHandle, PVOID *BaseAddress, PSIZE_T RegionSize, ULONG AllocationType, ULONG PageProtection, PMEM_EXTENDED_PARAMETER ExtendedParameters, ULONG ExtendedParameterCount)

Functions

int main (int argc, char **argv)

Typedef Documentation

◆ NtAllocateVirtualMemoryEx_t

typedef NTSTATUS(NTAPI * NtAllocateVirtualMemoryEx_t) (HANDLE ProcessHandle, PVOID *BaseAddress, PSIZE_T RegionSize, ULONG AllocationType, ULONG PageProtection, PMEM_EXTENDED_PARAMETER ExtendedParameters, ULONG ExtendedParameterCount)

Definition at line 8 of file Test_NtAllocateVirtualMemory.cpp.

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

Definition at line 223 of file Test_NtAllocateVirtualMemory.cpp.

223 {
224 return RunHookTests(argc, argv, "NtAllocateVirtualMemory", g_Cases);
225}
int RunHookTests(int argc, char **argv, const char *apiName, const std::vector< HookTestCase > &cases)
Runs the cases and prints a PASS/FAIL line for each. Call from main.

References RunHookTests().