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

Class StringLengthConflationSink

A dataflow sink for string length conflation vulnerabilities. That is, a DataFlow::Node where a string length is used.

Import path

import codeql.swift.security.StringLengthConflationExtensions

Direct supertypes

Indirect supertypes

Known direct subtypes

    Predicates

    getCorrectStringType

    Gets the correct StringType for this sink.

    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
    toString

    Gets a textual representation of this node.

    from Node