Module Flow::ConsistencyChecks
Provides consistency checks for an instantiation of the variable capture library.
Import path
import codeql.dataflow.VariableCaptureImports
| DfConsistency | Provides consistency checks that depend on the DataFlowIntegration inputs. |
Predicates
| closureAliasMustBeInSameScope | Holds if |
| closureMustHaveBody | Holds if closure expression |
| consistencyOverview | Holds if |
| localDominator | Holds if an immediate dominator of |
| localSuccessor | Holds if a successor of |
| uniqueCallableLocation | Holds if relevant callable |
| uniqueCfgNode | Holds if relevant expression |
| uniqueDefiningScope | Holds if captured variable |
| uniqueDominator | Holds if |
| uniqueEnclosingCallable | Holds if |
| uniqueLocation | Holds if relevant expression |
| uniqueReadVariable | Holds if variable read |
| uniqueToString | Holds if |
| uniqueWriteCfgNode | Holds if a captured-variable write does not have exactly one CFG node, as described by |
| uniqueWriteTarget | Holds if a captured-variable write does not have exactly one target variable, as described by |
| variableAccessAstNesting | Holds if callable |
| variableIsCaptured | Holds if |