Yul interpreter: Limit nesting level

This commit is contained in:
Bhargava Shastry
2020-12-03 12:21:08 +01:00
parent 52c1b75f72
commit 24f0f3bb16
6 changed files with 53 additions and 11 deletions
+1
View File
@@ -102,6 +102,7 @@ string EwasmTranslationTest::interpret()
InterpreterState state;
state.maxTraceSize = 10000;
state.maxSteps = 1000000;
state.maxExprNesting = 60;
try
{
Interpreter::run(state, WasmDialect{}, *m_object->code);