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 0e7eeb3 commit 05d693eCopy full SHA for 05d693e
cpp/ql/src/semmle/code/cpp/rangeanalysis/SimpleRangeAnalysis.qll
@@ -1626,7 +1626,9 @@ private module SimpleRangeAnalysisCached {
1626
private predicate exprThatCanOverflow(Expr e) {
1627
e instanceof UnaryArithmeticOperation or
1628
e instanceof BinaryArithmeticOperation or
1629
- e instanceof LShiftExpr
+ e instanceof AssignArithmeticOperation or
1630
+ e instanceof LShiftExpr or
1631
+ e instanceof AssignLShiftExpr
1632
}
1633
1634
/**
0 commit comments