diff --git a/test/tools/fuzzer_common.cpp b/test/tools/fuzzer_common.cpp index 066f4404c..06561347d 100644 --- a/test/tools/fuzzer_common.cpp +++ b/test/tools/fuzzer_common.cpp @@ -29,6 +29,8 @@ #include +#include + #include using namespace std; @@ -121,6 +123,11 @@ void FuzzerUtil::testCompiler( catch (StackTooDeepError const&) { } + // If _compileViaYul is true, the yul + // codegen may throw StackTooDeepError. + catch (yul::StackTooDeepError const&) + { + } } void FuzzerUtil::runCompiler(string const& _input, bool _quiet)