Increase upper bound for number of interpreted steps for optimized code

This commit is contained in:
Bhargava Shastry
2019-04-10 12:57:54 +02:00
parent 9eaaf42c4c
commit 484c14af81
4 changed files with 37 additions and 8 deletions
+10 -1
View File
@@ -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;
};
}
}