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

Module ECBEncryptionExtensions

Provides classes and predicates for reasoning about encryption using the ECB encryption mode.

Import path

import codeql.swift.security.ECBEncryptionExtensions

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

EcbEncryptionAdditionalFlowStep

A unit class for adding additional flow steps.

EcbEncryptionBarrier

A barrier for ECB encryption vulnerabilities.

EcbEncryptionSink

A dataflow sink for ECB encryption vulnerabilities. That is, a DataFlow::Node of something that is used as the block mode of a cipher.

EcbEncryptionSource

A dataflow source for ECB encryption vulnerabilities. That is, a DataFlow::Node of something that specifies a block mode cipher.