mirror of
https://github.com/HyperDbg/HyperDbg.git
synced 2026-07-25 17:05:27 +00:00
Code refactor
Signed-off-by: semenov_gv <GermanAizek@yandex.ru>
This commit is contained in:
parent
ceca812c23
commit
eb577b1a0c
9 changed files with 15 additions and 14 deletions
|
|
@ -366,7 +366,7 @@ ScriptEngineEvalWrapper(PGUEST_REGS GuestRegs,
|
|||
* @return BOOLEAN whether the test was successful or not
|
||||
*/
|
||||
BOOLEAN
|
||||
ScriptAutomaticStatementsTestWrapper(string Expr, UINT64 ExpectationValue, BOOLEAN ExceptError)
|
||||
ScriptAutomaticStatementsTestWrapper(const string & Expr, UINT64 ExpectationValue, BOOLEAN ExceptError)
|
||||
{
|
||||
//
|
||||
// Set the global variable indicator of test_statement to 0
|
||||
|
|
@ -400,7 +400,7 @@ ScriptAutomaticStatementsTestWrapper(string Expr, UINT64 ExpectationValue, BOOLE
|
|||
* @return VOID
|
||||
*/
|
||||
VOID
|
||||
ScriptEngineWrapperTestParser(string Expr)
|
||||
ScriptEngineWrapperTestParser(const string & Expr)
|
||||
{
|
||||
typedef struct _TEST_STRUCT
|
||||
{
|
||||
|
|
@ -453,7 +453,7 @@ ScriptEngineWrapperTestParser(string Expr)
|
|||
* @return UINT64
|
||||
*/
|
||||
UINT64
|
||||
ScriptEngineEvalUInt64StyleExpressionWrapper(string Expr, PBOOLEAN HasError)
|
||||
ScriptEngineEvalUInt64StyleExpressionWrapper(const string & Expr, PBOOLEAN HasError)
|
||||
{
|
||||
//
|
||||
// In VMI-mode we'll form all registers as zero
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue