yulInterpreter: Add timeout based on the number of interpreted statements.

This commit is contained in:
Bhargava Shastry
2019-03-27 12:06:02 +01:00
parent 97818f6582
commit 10c3b31fa4
3 changed files with 9 additions and 0 deletions
+1
View File
@@ -24,6 +24,7 @@ void yulFuzzerUtil::interpret(ostream& _os, shared_ptr<yul::Block> _ast)
{
InterpreterState state;
state.maxTraceSize = 75;
state.maxSteps = 10000;
Interpreter interpreter(state);
try
{