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

Predicate defMightOverflowNegatively

Holds if the definition might overflow negatively.

Import path

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