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

Module StringLengthConflationExtensions

Provides classes and predicates for reasoning about string length conflation vulnerabilities.

Import path

import codeql.swift.security.StringLengthConflationExtensions

Imports

DataFlow
ExternalFlow

INTERNAL use only. This is an experimental API subject to change without notice.

swift

Top-level import for the Swift language pack

Classes

StringLengthConflationAdditionalFlowStep

A unit class for adding additional flow steps.

StringLengthConflationBarrier

A barrier for string length conflation vulnerabilities.

StringLengthConflationSink

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

StringLengthConflationSource

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

StringType

A type of Swift string encoding. This class is used as a flow state for the string length conflation taint tracking configuration.