Skip to content

Commit 22c2522

Browse files
committed
Shared: Make a ContentSensitive module with predicates and classes related to content flow.
1 parent f142af5 commit 22c2522

File tree

5 files changed

+278
-270
lines changed

5 files changed

+278
-270
lines changed

csharp/ql/src/utils/modelgenerator/CaptureContentSummaryModels.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
import internal.CaptureModels
1010

1111
from DataFlowSummaryTargetApi api, string flow
12-
where flow = captureContentFlow(api)
12+
where flow = ContentSensitive::captureFlow(api)
1313
select flow order by flow

csharp/ql/test/utils/modelgenerator/dataflow/CaptureContentSummaryModels.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import utils.modelgenerator.internal.CaptureModels
33
import TestUtilities.InlineMadTest
44

55
module InlineMadTestConfig implements InlineMadTestConfigSig {
6-
string getCapturedModel(Callable c) { result = captureContentFlow(c) }
6+
string getCapturedModel(Callable c) { result = ContentSensitive::captureFlow(c) }
77

88
string getKind() { result = "contentbased-summary" }
99
}

java/ql/src/utils/modelgenerator/CaptureContentSummaryModels.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
import internal.CaptureModels
1010

1111
from DataFlowSummaryTargetApi api, string flow
12-
where flow = captureContentFlow(api)
12+
where flow = ContentSensitive::captureFlow(api)
1313
select flow order by flow

java/ql/test/utils/modelgenerator/dataflow/CaptureContentSummaryModels.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import utils.modelgenerator.internal.CaptureModels
33
import TestUtilities.InlineMadTest
44

55
module InlineMadTestConfig implements InlineMadTestConfigSig {
6-
string getCapturedModel(Callable c) { result = captureContentFlow(c) }
6+
string getCapturedModel(Callable c) { result = ContentSensitive::captureFlow(c) }
77

88
string getKind() { result = "contentbased-summary" }
99
}

0 commit comments

Comments
 (0)