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
22
22
where
23
23
not isExcluded ( bop , IntegerOverflowPackage:: signedIntegerOverflowQuery ( ) ) and
24
24
bop .getType ( ) .getUnderlyingType ( ) .( IntegralType ) .isSigned ( ) and
25
- // Not within a guard condition
26
- not exists ( GuardCondition gc | gc .getAChild * ( ) = bop ) and
27
25
// Not checked before the operation
28
26
not bop .hasValidPreCheck ( ) and
29
27
// Not guarded by a check, where the check is not an invalid overflow check
Original file line number Diff line number Diff line change 1
1
| 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. |
2
3
| test.c:23:5:23:11 | ... + ... | Binary expression ...+... of type int may overflow or underflow. |
3
4
| test.c:28:19:28:25 | ... + ... | Binary expression ...+... of type int may overflow or underflow. |
4
5
| 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