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

Function NewGlobalIdentifier

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

* @brief Allocates a new global variable and returns the integer assigned to it * * @param Token * @return int */

Source from the content-addressed store, hash-verified

4401 * @return int
4402 */
4403int
4404NewGlobalIdentifier(PSCRIPT_ENGINE_TOKEN Token)
4405{
4406 PSCRIPT_ENGINE_TOKEN CopiedToken = CopyToken(Token);
4407 GlobalIdTable = Push(GlobalIdTable, CopiedToken);
4408 return GlobalIdTable->Pointer - 1;
4409}
4410
4411/**
4412 * @brief

Callers 1

CodeGenFunction · 0.85

Calls 2

CopyTokenFunction · 0.85
PushFunction · 0.85

Tested by

no test coverage detected