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

Predicate signature SignAnalysisSig::semMayBeNegative

Holds if e may have negative values. This does not rule out the possibility for positive values.

signature predicate semMayBeNegative(Expr e)