CodeQL library for Java/Kotlin
codeql/java-all 7.7.3 (changelog, source)
Search

Class BaseSsaVariable

An SSA variable.

Import path

import semmle.code.java.dataflow.internal.BaseSSA

Direct supertypes

Indirect supertypes

Known direct subtypes

    Predicates

    getAFirstUse

    Gets an access of the SSA source variable underlying this SSA variable that can be reached from this SSA variable without passing through any other uses, but potentially through phi nodes.

    getAUse

    Gets an access of this SSA variable.

    getAnUltimateDefinition

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

    getAnUltimateLocalDefinition

    Gets a definition in the same callable that ultimately defines this variable and is not itself a phi node.

    getCfgNode

    Gets the ControlFlowNode at which this SSA variable is defined.

    isLiveAtEndOfBlock

    Holds if this SSA variable is live at the end of b.

    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