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

Predicate missingGuardAgainstOverflow

Holds if e potentially overflows and use is an operand of e that is not guarded.

Import path

import semmle.code.cpp.security.Overflow
predicate missingGuardAgainstOverflow(Operation e, VariableAccess use)