MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / Realloc

Method Realloc

rapidjson/allocators.h:72–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 return NULL; // standardize to returning NULL.
71 }
72 void* Realloc(void* originalPtr, size_t originalSize, size_t newSize) {
73 (void)originalSize;
74 if (newSize == 0) {
75 BinaryNinjaCore::bn_free(originalPtr);
76 return NULL;
77 }
78 return BinaryNinjaCore::bn_realloc<CrtAllocator>(originalPtr, newSize);
79 }
80 static void Free(void* ptr) { BinaryNinjaCore::bn_free(ptr); }
81};
82#else

Callers 2

document.hFile · 0.45
ResizeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected