mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Increase upper bound for number of interpreted steps for optimized code
This commit is contained in:
@@ -24,7 +24,16 @@ namespace yul_fuzzer
|
||||
{
|
||||
struct yulFuzzerUtil
|
||||
{
|
||||
static void interpret(std::ostream& _os, std::shared_ptr<yul::Block> _ast);
|
||||
static void interpret(
|
||||
std::ostream& _os,
|
||||
std::shared_ptr<yul::Block> _ast,
|
||||
size_t _maxSteps = maxSteps,
|
||||
size_t _maxTraceSize = maxTraceSize,
|
||||
size_t _maxMemory = maxMemory
|
||||
);
|
||||
static size_t constexpr maxSteps = 100;
|
||||
static size_t constexpr maxTraceSize = 75;
|
||||
static size_t constexpr maxMemory = 0x200;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user