MCPcopy Index your code
hub / github.com/CloverHackyColor/CloverBootloader / AllocateZeroPool

Function AllocateZeroPool

Xcode/cpp_tests/src/Platform.cpp:145–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143}
144
145void* AllocateZeroPool(UINTN AllocationSize)
146{
147 void* p = (void*)malloc((size_t)AllocationSize);
148 memset(p, 0, (size_t)AllocationSize);
149 return p;
150}
151
152void* ReallocatePool(UINTN OldSize, UINTN NewSize, void* OldBuffer)
153{

Callers 15

FSInject.cFile · 0.50
FSI_FP_ReadFunction · 0.50
FSInjectionInstallFunction · 0.50
UefiLib.cFile · 0.50
CreatePopUpFunction · 0.50
InternalPrintGraphicFunction · 0.50
UefiScsiLib.cFile · 0.50

Calls 2

mallocFunction · 0.50
memsetFunction · 0.50

Tested by 2

VerifyMemoryFunction · 0.40
GenPerformMemoryTestFunction · 0.40