Yul interpreter: Introduce expression evaluation maximum nesting depth

This commit is contained in:
Bhargava Shastry
2020-12-04 17:27:03 +01:00
parent 0015e8cd84
commit 32fd692c51
9 changed files with 70 additions and 5 deletions
+1
View File
@@ -102,6 +102,7 @@ string EwasmTranslationTest::interpret()
InterpreterState state;
state.maxTraceSize = 10000;
state.maxSteps = 1000000;
state.maxExprNesting = 64;
try
{
Interpreter::run(state, WasmDialect{}, *m_object->code);