Fuzzer: Add a specialized StackTooDeepError Exception that is caught in the fuzzing harness

This commit is contained in:
Bhargava Shastry
2020-07-01 11:08:20 +02:00
parent a1c33249f1
commit 1a0391bceb
10 changed files with 40 additions and 17 deletions
+2 -1
View File
@@ -218,8 +218,9 @@ void CodeGenerator::assemble(
}
catch (StackTooDeepError const& _e)
{
yulAssert(
assertThrow(
false,
langutil::StackTooDeepError,
"Stack too deep when compiling inline assembly" +
(_e.comment() ? ": " + *_e.comment() : ".")
);