File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -22,8 +22,6 @@ from InterestingBinaryOverflowingExpr bop
2222where
2323 not isExcluded ( bop , IntegerOverflowPackage:: signedIntegerOverflowQuery ( ) ) and
2424 bop .getType ( ) .getUnderlyingType ( ) .( IntegralType ) .isSigned ( ) and
25- // Not within a guard condition
26- not exists ( GuardCondition gc | gc .getAChild * ( ) = bop ) and
2725 // Not checked before the operation
2826 not bop .hasValidPreCheck ( ) and
2927 // Not guarded by a check, where the check is not an invalid overflow check
Original file line number Diff line number Diff line change 11| test.c:6:3:6:9 | ... + ... | Binary expression ...+... of type int may overflow or underflow. |
2+ | test.c:20:7:20:13 | ... + ... | Binary expression ...+... of type int may overflow or underflow. |
23| test.c:23:5:23:11 | ... + ... | Binary expression ...+... of type int may overflow or underflow. |
34| test.c:28:19:28:25 | ... + ... | Binary expression ...+... of type int may overflow or underflow. |
45| test.c:36:3:36:9 | ... - ... | Binary expression ...-... of type int may overflow or underflow. |
You can’t perform that action at this time.
0 commit comments