Update to the TaintTracking::Global api

This commit is contained in:
Ed Minnix
2023-03-28 13:04:39 -04:00
parent bbf7c67f9b
commit dcd703f1a9

View File

@@ -52,7 +52,7 @@ module RemoteUserInputToArgumentToExecFlowConfig implements DataFlow::ConfigSig
}
module RemoteUserInputToArgumentToExecFlow =
TaintTracking::Make<RemoteUserInputToArgumentToExecFlowConfig>;
TaintTracking::Global<RemoteUserInputToArgumentToExecFlowConfig>;
/**
* Implementation of `ExecTainted.ql`. It is extracted to a QLL
@@ -63,6 +63,6 @@ predicate execTainted(
RemoteUserInputToArgumentToExecFlow::PathNode source,
RemoteUserInputToArgumentToExecFlow::PathNode sink, ArgumentToExec execArg
) {
RemoteUserInputToArgumentToExecFlow::hasFlowPath(source, sink) and
RemoteUserInputToArgumentToExecFlow::flowPath(source, sink) and
sink.getNode() = DataFlow::exprNode(execArg)
}