Class Node
An element, viewed as a node in a data flow graph. Either an expression
(ExprNode) or a parameter (ParameterNode).
Import path
import codeql.swift.dataflow.internal.DataFlowPublicDirect supertypes
Known direct subtypes
- CaptureNode
- CleartextLoggingBarrier
- CleartextLoggingSink
- CleartextStorageDatabaseBarrier
- CleartextStorageDatabaseSink
- CleartextStoragePreferencesBarrier
- CleartextStoragePreferencesSink
- CleartextTransmissionBarrier
- CleartextTransmissionSink
- CommandInjectionBarrier
- CommandInjectionSink
- ConstantPasswordBarrier
- ConstantPasswordSink
- ConstantSaltBarrier
- ConstantSaltSink
- EcbEncryptionBarrier
- EcbEncryptionSink
- EcbEncryptionSource
- ExprNode
- FlowSource
- HardcodedEncryptionKeyBarrier
- HardcodedEncryptionKeySink
- InoutReturnNode
- InsecureTlsExtensionsBarrier
- InsecureTlsExtensionsSink
- InsecureTlsExtensionsSource
- InsufficientHashIterationsBarrier
- InsufficientHashIterationsSink
- ParameterNode
- PathInjectionBarrier
- PathInjectionSink
- PatternNode
- PostUpdateNode
- PredicateInjectionBarrier
- PredicateInjectionSink
- RegexCreation
- RegexInjectionBarrier
- RegexInjectionSink
- RegexPatternSource
- SqlInjectionBarrier
- SqlInjectionSink
- SsaDefinitionNode
- StaticInitializationVectorBarrier
- StaticInitializationVectorSink
- StringLengthConflationBarrier
- StringLengthConflationSink
- StringLengthConflationSource
- UncontrolledFormatStringBarrier
- UncontrolledFormatStringSink
- UnsafeJsEvalBarrier
- UnsafeJsEvalSink
- UnsafeUnpackBarrier
- UnsafeUnpackSink
- UnsafeUnpackSource
- UnsafeWebViewFetchBarrier
- UnsafeWebViewFetchSink
- WeakPasswordHashingBarrier
- WeakPasswordHashingSink
- WeakSensitiveDataHashingBarrier
- WeakSensitiveDataHashingSink
- XxeBarrier
- XxeSink
Predicates
| asDefinition | Gets this node’s underlying SSA definition, if any. |
| asExpr | Gets the expression that corresponds to this node, if any. |
| asParameter | Gets the parameter that corresponds to this node, if any. |
| asPattern | Gets this node’s underlying pattern, if any. |
| getCfgNode | Gets the control flow node that corresponds to this data flow node. |
| getLocation | Gets the location of this node. |
| toString | Gets a textual representation of this node. |