MCPcopy Create free account
hub / github.com/NoMercy-ac/NoMercy / AllocArray

Function AllocArray

Source/Client/NM_Sys/API/MemoryUtils.cpp:60–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58
59 _IRQL_requires_max_(DISPATCH_LEVEL)
60 PVOID AllocArray(SIZE_T ElementSize, SIZE_T ElementsCount)
61 {
62 return AllocFromPool(ElementSize * ElementsCount, TRUE);
63 }
64
65 _IRQL_requires_max_(DISPATCH_LEVEL)
66 VOID FreePoolMemory(__drv_freesMem(Mem) PVOID Address)

Callers

nothing calls this directly

Calls 1

AllocFromPoolFunction · 0.85

Tested by

no test coverage detected