CodeQL library for C/C++
codeql/cpp-all 0.12.9 (changelog, source)
Search

Predicate SimpleRangeAnalysisCached::exprMightOverflowPositively

Holds if the expression might overflow positively. This predicate does not consider the possibility that the expression might overflow due to a conversion.

Import path

import semmle.code.cpp.rangeanalysis.SimpleRangeAnalysis
predicate exprMightOverflowPositively(Expr expr)