Skip to content

Commit 42f05da

Browse files
committed
Data flow: Sync files
1 parent 3d072ab commit 42f05da

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

csharp/ql/lib/semmle/code/csharp/dataflow/internal/FlowSummaryImpl.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -777,10 +777,10 @@ module Private {
777777
predicate prohibitsUseUseFlow(ArgNode arg, SummarizedCallable sc) {
778778
exists(ParamNode p, Node mid, ParameterPosition ppos, Node ret |
779779
p = summaryArgParam0(_, arg, sc) and
780-
p.isParameterOf(_, ppos) and
780+
p.isParameterOf(_, pragma[only_bind_into](ppos)) and
781781
summaryLocalStep(p, mid, true) and
782782
summaryLocalStep(mid, ret, true) and
783-
isParameterPostUpdate(ret, _, ppos)
783+
isParameterPostUpdate(ret, _, pragma[only_bind_into](ppos))
784784
|
785785
summaryClearsContent(mid, _) or
786786
summaryExpectsContent(mid, _)

java/ql/lib/semmle/code/java/dataflow/internal/FlowSummaryImpl.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -777,10 +777,10 @@ module Private {
777777
predicate prohibitsUseUseFlow(ArgNode arg, SummarizedCallable sc) {
778778
exists(ParamNode p, Node mid, ParameterPosition ppos, Node ret |
779779
p = summaryArgParam0(_, arg, sc) and
780-
p.isParameterOf(_, ppos) and
780+
p.isParameterOf(_, pragma[only_bind_into](ppos)) and
781781
summaryLocalStep(p, mid, true) and
782782
summaryLocalStep(mid, ret, true) and
783-
isParameterPostUpdate(ret, _, ppos)
783+
isParameterPostUpdate(ret, _, pragma[only_bind_into](ppos))
784784
|
785785
summaryClearsContent(mid, _) or
786786
summaryExpectsContent(mid, _)

0 commit comments

Comments
 (0)