MCPcopy Create free account
hub / github.com/HoShiMin/Kernel-Bridge / AllocArray

Function AllocArray

Kernel-Bridge/API/MemoryUtils.cpp:56–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54
55 _IRQL_requires_max_(DISPATCH_LEVEL)
56 PVOID AllocArray(SIZE_T ElementSize, SIZE_T ElementsCount) {
57 return AllocFromPool(ElementSize * ElementsCount, TRUE);
58 }
59
60 _IRQL_requires_max_(DISPATCH_LEVEL)
61 VOID FreePoolMemory(__drv_freesMem(Mem) PVOID Address) {

Callers

nothing calls this directly

Calls 1

AllocFromPoolFunction · 0.85

Tested by

no test coverage detected