Skip to content

Commit 3edc72f

Browse files
committed
Update CaptureModels.qll
1 parent bc6ee10 commit 3edc72f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

csharp/ql/src/utils/model-generator/internal/CaptureModels.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,9 @@ private class ThroughFlowConfig extends TaintTracking::Configuration {
130130
DataFlow::Node node1, DataFlow::FlowState state1, DataFlow::Node node2,
131131
DataFlow::FlowState state2
132132
) {
133-
exists(DataFlow::Content c |
134-
DataFlowImplCommon::storeSet(node1, c, node2, _, _) and
135-
isRelevantContent(c) and
133+
exists(DataFlowImplCommon::TypedContent tc |
134+
DataFlowImplCommon::store(node1, tc, node2, _) and
135+
isRelevantContent(tc.getContent()) and
136136
(state1 instanceof TaintRead or state1 instanceof TaintStore) and
137137
state2 instanceof TaintStore
138138
)

java/ql/src/utils/model-generator/internal/CaptureModels.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,9 @@ private class ThroughFlowConfig extends TaintTracking::Configuration {
130130
DataFlow::Node node1, DataFlow::FlowState state1, DataFlow::Node node2,
131131
DataFlow::FlowState state2
132132
) {
133-
exists(DataFlow::Content c |
134-
DataFlowImplCommon::storeSet(node1, c, node2, _, _) and
135-
isRelevantContent(c) and
133+
exists(DataFlowImplCommon::TypedContent tc |
134+
DataFlowImplCommon::store(node1, tc, node2, _) and
135+
isRelevantContent(tc.getContent()) and
136136
(state1 instanceof TaintRead or state1 instanceof TaintStore) and
137137
state2 instanceof TaintStore
138138
)

0 commit comments

Comments
 (0)