@@ -210,7 +210,7 @@ module ThroughFlowConfig implements DataFlow::StateConfigSig {
210
210
}
211
211
}
212
212
213
- private module ThroughFlow = TaintTracking:: MakeWithState < ThroughFlowConfig > ;
213
+ private module ThroughFlow = TaintTracking:: GlobalWithState < ThroughFlowConfig > ;
214
214
215
215
/**
216
216
* Gets the summary model(s) of `api`, if there is flow from parameters to return value or parameter.
@@ -220,7 +220,7 @@ string captureThroughFlow(DataFlowTargetApi api) {
220
220
DataFlow:: ParameterNode p , DataFlowImplCommon:: ReturnNodeExt returnNodeExt , string input ,
221
221
string output
222
222
|
223
- ThroughFlow:: hasFlow ( p , returnNodeExt ) and
223
+ ThroughFlow:: flow ( p , returnNodeExt ) and
224
224
returnNodeExt .getEnclosingCallable ( ) = api and
225
225
input = parameterNodeAsInput ( p ) and
226
226
output = returnNodeAsOutput ( returnNodeExt ) and
@@ -253,14 +253,14 @@ module FromSourceConfig implements DataFlow::ConfigSig {
253
253
}
254
254
}
255
255
256
- private module FromSource = TaintTracking:: Make < FromSourceConfig > ;
256
+ private module FromSource = TaintTracking:: Global < FromSourceConfig > ;
257
257
258
258
/**
259
259
* Gets the source model(s) of `api`, if there is flow from an existing known source to the return of `api`.
260
260
*/
261
261
string captureSource ( DataFlowTargetApi api ) {
262
262
exists ( DataFlow:: Node source , DataFlow:: Node sink , string kind |
263
- FromSource:: hasFlow ( source , sink ) and
263
+ FromSource:: flow ( source , sink ) and
264
264
ExternalFlow:: sourceNode ( source , kind ) and
265
265
api = sink .getEnclosingCallable ( ) and
266
266
isRelevantSourceKind ( kind ) and
@@ -285,14 +285,14 @@ module PropagateToSinkConfig implements DataFlow::ConfigSig {
285
285
DataFlow:: FlowFeature getAFeature ( ) { result instanceof DataFlow:: FeatureHasSourceCallContext }
286
286
}
287
287
288
- private module PropagateToSink = TaintTracking:: Make < PropagateToSinkConfig > ;
288
+ private module PropagateToSink = TaintTracking:: Global < PropagateToSinkConfig > ;
289
289
290
290
/**
291
291
* Gets the sink model(s) of `api`, if there is flow from a parameter to an existing known sink.
292
292
*/
293
293
string captureSink ( DataFlowTargetApi api ) {
294
294
exists ( DataFlow:: Node src , DataFlow:: Node sink , string kind |
295
- PropagateToSink:: hasFlow ( src , sink ) and
295
+ PropagateToSink:: flow ( src , sink ) and
296
296
ExternalFlow:: sinkNode ( sink , kind ) and
297
297
api = src .getEnclosingCallable ( ) and
298
298
isRelevantSinkKind ( kind ) and
0 commit comments