You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We do not need to implement can_be_checked_for_overflow for unary negate because it is converted to a binary operation e.g. -7 -> 0 - 7 and subtraction is included in binop's can_be_checked_for_overflow
slither/slither/slithir/operations/binary.py
Line 100 in 9779380
Do we consider revert when modulo by zero as overflow? Since
can_be_checked_for_overflow
is never used internally this is not clear.The text was updated successfully, but these errors were encountered: