MCPcopy Create free account
hub / github.com/HyperDbg/HyperDbg / GetSymbolHeapSize

Function GetSymbolHeapSize

hyperdbg/script-engine/code/script-engine.c:3751–3756  ·  view source on GitHub ↗

* @brief Returns the number of SYMBOL objects (24 bytes) allocated by string or wstring sybmol * * @param Symbol * @return unsigned int */

Source from the content-addressed store, hash-verified

3749 * @return unsigned int
3750 */
3751unsigned int
3752GetSymbolHeapSize(PSYMBOL Symbol)
3753{
3754 int Temp = (SIZE_SYMBOL_WITHOUT_LEN + (int)Symbol->Len) / sizeof(SYMBOL) + 1;
3755 return Temp;
3756}
3757
3758/**
3759 * @brief Frees the memory allocate by this Symbol

Callers 2

PushSymbolFunction · 0.85
PrintSymbolBufferFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected