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
@@ -89,6 +89,7 @@ string YulInterpreterTest::interpret()
InterpreterState state;
state.maxTraceSize = 32;
state.maxSteps = 512;
state.maxExprNesting = 64;
try
{
Interpreter::run(state, EVMDialect::strictAssemblyForEVMObjects(langutil::EVMVersion{}), *m_ast);