mirror of
https://github.com/HyperDbg/HyperDbg.git
synced 2026-07-24 00:14:44 +00:00
add user-defined function and variable type in script engine
This commit is contained in:
parent
a8d8edfe4d
commit
29d79991e4
27 changed files with 2325 additions and 874 deletions
|
|
@ -358,6 +358,14 @@ ScriptEngineEvalWrapper(PGUEST_REGS GuestRegs,
|
|||
ACTION_BUFFER ActionBuffer = {0};
|
||||
SYMBOL ErrorSymbol = {0};
|
||||
|
||||
//
|
||||
//
|
||||
//
|
||||
PSYMBOL_BUFFER StackBuffer = GetStackBuffer();
|
||||
int StackIndx = 0;
|
||||
int StackBaseIndx = 0;
|
||||
int StackTempBaseIndx = 0;
|
||||
|
||||
if (CodeBuffer->Message == NULL)
|
||||
{
|
||||
for (int i = 0; i < CodeBuffer->Pointer;)
|
||||
|
|
@ -386,6 +394,10 @@ ScriptEngineEvalWrapper(PGUEST_REGS GuestRegs,
|
|||
&VariablesList,
|
||||
CodeBuffer,
|
||||
&i,
|
||||
StackBuffer,
|
||||
&StackIndx,
|
||||
&StackBaseIndx,
|
||||
&StackTempBaseIndx,
|
||||
&ErrorSymbol) == TRUE)
|
||||
{
|
||||
CHAR NameOfOperator[MAX_FUNCTION_NAME_LENGTH] = {0};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue