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

Class Definition

An static single assignment (SSA) definition.

Import path

import semmle.code.cpp.ir.dataflow.internal.SsaInternals

Direct supertypes

Indirect supertypes

Known direct subtypes

Predicates

getAnUltimateDefinition

Gets a definition that ultimately defines this SSA definition and is not itself a phi node.

getFunction

Gets the enclosing declaration of this definition.

getIndirection

Gets the indirection of this definition.

getIndirectionIndex

Gets the indirection index of this definition.

getUnderlyingType

Gets the underlying type of the variable being defined by this definition.

getUnspecifiedType

Gets the unspecified type of the variable being defined by this definition.

getValue

INTERNAL: Do not use.

isCertain

Holds if this definition is guaranteed to totally overwrite the buffer being written to.

Inherited predicates

definesAt

Holds if this SSA definition defines v at index i in basic block bb. Phi nodes are considered to be at index -1, while normal variable writes are at the index of the control flow node they wrap.

from Definition
getBasicBlock

Gets the basic block to which this SSA definition belongs.

from Definition
getLocation

Gets the location of this SSA definition.

from Definition
getSourceVariable

Gets the source variable underlying this SSA definition.

from Definition
toString

Gets a textual representation of this SSA definition.

from Definition