mirror of
https://github.com/HyperDbg/HyperDbg
synced 2026-08-15 06:29:09 -04:00
fix #587 to add functions with no input and return a number
This commit is contained in:
parent
686e445c9b
commit
a8f259fbad
8 changed files with 873 additions and 764 deletions
|
|
@ -734,13 +734,19 @@ ScriptEngineExecute(PGUEST_REGS GuestRegs,
|
|||
|
||||
ScriptEngineFunctionPause(ActionDetail,
|
||||
GuestRegs);
|
||||
|
||||
break;
|
||||
|
||||
case FUNC_LBR_CHECK:
|
||||
|
||||
//
|
||||
// To be implemented!
|
||||
//
|
||||
Des = (PSYMBOL)((unsigned long long)CodeBuffer->Head +
|
||||
(unsigned long long)(*Indx * sizeof(SYMBOL)));
|
||||
*Indx = *Indx + 1;
|
||||
|
||||
DesVal = ScriptEngineFunctionLbrCheck();
|
||||
|
||||
SetValue(GuestRegs, ScriptGeneralRegisters, Des, DesVal);
|
||||
|
||||
break;
|
||||
|
||||
case FUNC_LBR_SAVE:
|
||||
|
|
@ -752,6 +758,7 @@ ScriptEngineExecute(PGUEST_REGS GuestRegs,
|
|||
DesVal = ScriptEngineFunctionLbrSave();
|
||||
|
||||
SetValue(GuestRegs, ScriptGeneralRegisters, Des, DesVal);
|
||||
|
||||
break;
|
||||
|
||||
case FUNC_LBR_PRINT:
|
||||
|
|
@ -764,6 +771,7 @@ ScriptEngineExecute(PGUEST_REGS GuestRegs,
|
|||
DesVal = ScriptEngineFunctionLbrPrint();
|
||||
|
||||
SetValue(GuestRegs, ScriptGeneralRegisters, Des, DesVal);
|
||||
|
||||
break;
|
||||
|
||||
case FUNC_LBR_RESTORE:
|
||||
|
|
@ -775,6 +783,7 @@ ScriptEngineExecute(PGUEST_REGS GuestRegs,
|
|||
DesVal = ScriptEngineFunctionLbrRestore();
|
||||
|
||||
SetValue(GuestRegs, ScriptGeneralRegisters, Des, DesVal);
|
||||
|
||||
break;
|
||||
|
||||
case FUNC_LBR_RESTORE_BY_FILTER:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue