Skip to content

Commit

Permalink
fix typo in ExpressionNestingLimitReached enum value (#15767)
Browse files Browse the repository at this point in the history
* Update yulFuzzerCommon.cpp

* Update yulFuzzerCommon.h
  • Loading branch information
maximevtush authored Jan 24, 2025
1 parent 11b770f commit 2d7dc28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/tools/ossfuzz/yulFuzzerCommon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ yulFuzzerUtil::TerminationReason yulFuzzerUtil::interpret(
}
catch (ExpressionNestingLimitReached const&)
{
reason = TerminationReason::ExpresionNestingLimitReached;
reason = TerminationReason::ExpressionNestingLimitReached;
}
catch (ExplicitlyTerminated const&)
{
Expand All @@ -83,5 +83,5 @@ bool yulFuzzerUtil::resourceLimitsExceeded(TerminationReason _reason)
return
_reason == yulFuzzerUtil::TerminationReason::StepLimitReached ||
_reason == yulFuzzerUtil::TerminationReason::TraceLimitReached ||
_reason == yulFuzzerUtil::TerminationReason::ExpresionNestingLimitReached;
_reason == yulFuzzerUtil::TerminationReason::ExpressionNestingLimitReached;
}
2 changes: 1 addition & 1 deletion test/tools/ossfuzz/yulFuzzerCommon.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ struct yulFuzzerUtil
ExplicitlyTerminated,
StepLimitReached,
TraceLimitReached,
ExpresionNestingLimitReached,
ExpressionNestingLimitReached,
None
};

Expand Down

0 comments on commit 2d7dc28

Please sign in to comment.