CodeQL library for Swift
codeql/swift-all 6.2.1-dev (changelog, source)
Search

Class LocalFlowSource

A data flow source of local user input, that is, user input from the same device as the code is running on.

Import path

import codeql.swift.dataflow.FlowSources

Direct supertypes

Indirect supertypes

Known direct subtypes

    Inherited predicates

    asDefinition

    Gets this node’s underlying SSA definition, if any.

    from Node
    asExpr

    Gets the expression that corresponds to this node, if any.

    from Node
    asParameter

    Gets the parameter that corresponds to this node, if any.

    from Node
    asPattern

    Gets this node’s underlying pattern, if any.

    from Node
    getCfgNode

    Gets the control flow node that corresponds to this data flow node.

    from Node
    getLocation

    Gets the location of this node.

    from Node
    getSourceType

    Gets a string that describes the type of this flow source.

    from FlowSource
    toString

    Gets a textual representation of this node.

    from Node