Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

Commit

Permalink
update eval engine
Browse files Browse the repository at this point in the history
  • Loading branch information
SinaKarvandi committed May 28, 2024
1 parent e42452c commit 792f5c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/scala/hwdbg/script/eval.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ import hwdbg.stage._

object ScriptEvalFunc {
object ScriptOperators extends ChiselEnum {
val sFuncInc, sFuncDec, sFuncDec2, sFuncDec3, sFuncDec4, sFuncDec5, sFuncDec6, sFuncDec7 = Value
val sFuncInc, sFuncDec, sFuncReference, sFuncDereference, sFuncOr, sFuncXor, sFuncAnd, sFuncAsr, sFuncAsl, sFuncAdd, sFuncSub, sFuncMul, sFuncDiv, sFuncMod, sFuncGt, sFuncLt, sFuncEgt, sFuncElt, sFuncEqual, sFuncNeq, sFuncStart_of_if, sFuncJmp, sFuncJz, sFuncJnz, sFuncJmp_to_end_and_jzcompleted, sFuncEnd_of_if, sFuncStart_of_while, sFuncEnd_of_while, sFuncVargstart, sFuncMov, sFuncStart_of_do_while, sFunc, sFuncStart_of_do_while_commands, sFuncEnd_of_do_while, sFuncStart_of_for, sFuncFor_inc_dec, sFuncStart_of_for_ommands, sFuncIgnore_lvalue, sFuncEnd_of_user_defined_function, sFuncReturn_of_user_defined_function_with_value, sFuncReturn_of_user_defined_function_without_value, sFuncCall_user_defined_function_parameter, sFuncEnd_of_calling_user_defined_function_without_returning_value, sFuncEnd_of_calling_user_defined_function_with_returning_value, sFuncCall_user_defined_function, sFuncStart_of_user_defined_function, sFuncMov_return_value, sFuncVoid, sFuncBool, sFuncChar, sFuncShort, sFuncInt, sFuncLong, sFuncUnsigned, sFuncSigned, sFuncFloat, sFuncDouble, sFuncPrint, sFuncFormats, sFuncEvent_enable, sFuncEvent_disable, sFuncEvent_clear, sFuncTest_statement, sFuncSpinlock_lock, sFuncSpinlock_unlock, sFuncEvent_sc, sFuncPrintf, sFuncPause, sFuncFlush, sFuncEvent_trace_step, sFuncEvent_trace_step_in, sFuncEvent_trace_step_out, sFuncEvent_trace_instrumentation_step, sFuncEvent_trace_instrumentation_step_in, sFuncSpinlock_lock_custom_wait, sFuncEvent_inject, sFuncPoi, sFuncDb, sFuncDd, sFuncDw, sFuncDq, sFuncNeg, sFuncHi, sFuncLow, sFuncNot, sFuncCheck_address, sFuncDisassemble_len, sFuncDisassemble_len32, sFuncDisassemble_len64, sFuncInterlocked_increment, sFuncInterlocked_decrement, sFuncPhysical_to_virtual, sFuncVirtual_to_physical, sFuncEd, sFuncEb, sFuncEq, sFuncInterlocked_exchange, sFuncInterlocked_exchange_add, sFuncInterlocked_compare_exchange, sFuncStrlen, sFuncStrcmp, sFuncMemcmp, sFuncWcslen, sFuncWcscmp, sFuncEvent_inject_error_code, sFuncMemcpy = Value
}
}
}

class ScriptEngineEval(
debug: Boolean = DebuggerConfigurations.ENABLE_DEBUG,
Expand Down

0 comments on commit 792f5c7

Please sign in to comment.