mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
yulInterpreter: Add timeout based on the number of interpreted statements.
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user