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

Predicate defMightOverflow

Holds if the definition might overflow (either positively or negatively).

Import path

import semmle.code.cpp.rangeanalysis.new.SimpleRangeAnalysis
predicate defMightOverflow(RangeSsaDefinition def, StackVariable v)