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

Class StringLengthConflationSource

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

Import path

import codeql.swift.security.StringLengthConflationExtensions

Direct supertypes

Indirect supertypes

Known direct subtypes

    Predicates

    getStringType

    Gets the StringType for this source.

    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