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

Datatype RelationDirection

Describes whether a relation is ‘greater’ (that is, a > or >= relation) or ‘lesser’ (a < or <= relation).

Import path

import semmle.code.cpp.rangeanalysis.RangeAnalysisUtils

Branch types

Greater

Represents that a relation is ‘greater’ (that is, a > or >= relation).

Lesser

Represents that a relation is ‘lesser’ (that is, a < or <= relation).

Injectors

Greater

Represents that a relation is ‘greater’ (that is, a > or >= relation).

Lesser

Represents that a relation is ‘lesser’ (that is, a < or <= relation).