We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a611a1 commit 446ff6aCopy full SHA for 446ff6a
cpp/common/src/codingstandards/cpp/Overflow.qll
@@ -14,6 +14,7 @@ import semmle.code.cpp.valuenumbering.GlobalValueNumbering
14
*/
15
class InterestingOverflowingOperation extends Operation {
16
InterestingOverflowingOperation() {
17
+ forex(Expr operand | operand = this.getAnOperand() | operand.getUnderlyingType() instanceof IntegralType) and
18
// Might overflow or underflow
19
(
20
exprMightOverflowNegatively(this)
0 commit comments