Module CachedSteps
Implements a set of data flow predicates that are used by multiple predicates and hence should only be computed once.
Import path
import semmle.javascript.dataflow.internal.FlowSteps
Predicates
argumentPassing | Holds if |
basicLoadStep | Holds if there is a load step from |
basicStoreStep | Holds if there is a store step from |
callStep | Holds if there is a flow step from |
calls | Holds if |
callsBound | Holds if |
captures | Holds if |
exploratoryBoundInvokeStep | Holds if |
exploratoryCallbackStep | Holds if there is a higher-order call with argument |
getACallbackSource | Gets a function that flows to |
getCapturedVariableDepth | Gets the nesting depth of the container declaring the given captured variable. |
getContainerDepth | Gets the nesting depth of the given container, starting with the top-level at 0. |
globalFlowStep | Holds if there is a flow step from |
identityFunctionStep | Holds if there is a step from |
propertyFlowStep | Holds if there is a flow step from |
receiverPropWrite | Holds if |
returnStep | Holds if there is a flow step from |
returnedPropWrite | Holds if |