Merge pull request #7610 from ethereum/fix-7472

yul proto fuzzer: Increase step limit for optimized code
This commit is contained in:
chriseth 2019-11-06 21:11:51 +01:00 committed by GitHub
commit aa8de4404e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ extern "C" int LLVMFuzzerTestOneInput(uint8_t const* _data, size_t _size)
os2, os2,
stack.parserResult()->code, stack.parserResult()->code,
EVMDialect::strictAssemblyForEVMObjects(langutil::EVMVersion()), EVMDialect::strictAssemblyForEVMObjects(langutil::EVMVersion()),
(yul::test::yul_fuzzer::yulFuzzerUtil::maxSteps * 1.5) (yul::test::yul_fuzzer::yulFuzzerUtil::maxSteps * 4)
); );
bool isTraceEq = (os1.str() == os2.str()); bool isTraceEq = (os1.str() == os2.str());

View File

@ -106,7 +106,7 @@ DEFINE_PROTO_FUZZER(Program const& _input)
os2, os2,
stack.parserResult()->code, stack.parserResult()->code,
EVMDialect::strictAssemblyForEVMObjects(langutil::EVMVersion()), EVMDialect::strictAssemblyForEVMObjects(langutil::EVMVersion()),
(yul::test::yul_fuzzer::yulFuzzerUtil::maxSteps * 1.5) (yul::test::yul_fuzzer::yulFuzzerUtil::maxSteps * 4)
); );
bool isTraceEq = (os1.str() == os2.str()); bool isTraceEq = (os1.str() == os2.str());