Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9ba169b

Browse files
committed
Java: Fix bad join-order.
1 parent 2443f10 commit 9ba169b

19 files changed

Lines changed: 38 additions & 38 deletions

File tree

cpp/ql/src/semmle/code/cpp/dataflow/internal/DataFlowImpl.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1805,14 +1805,14 @@ private newtype TSummaryCtx =
18051805
flow(p, true, TNil(_), conf) and
18061806
parameterFlowReturn(p, ret, _, _, _,
18071807
any(Summary s | s = TSummaryTaint() or s = TSummaryTaintStore(_)), conf) and
1808-
flow(ret, conf)
1808+
flow(ret, unbind(conf))
18091809
)
18101810
} or
18111811
TSummaryCtxConsNil(ParameterNode p, Content f) {
18121812
exists(Configuration conf, ReturnNodeExt ret |
18131813
flow(p, true, TConsNil(f, _), conf) and
18141814
parameterFlowReturn(p, ret, _, _, _, TSummaryReadTaint(f), conf) and
1815-
flow(ret, conf)
1815+
flow(ret, unbind(conf))
18161816
)
18171817
}
18181818

cpp/ql/src/semmle/code/cpp/dataflow/internal/DataFlowImpl2.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1805,14 +1805,14 @@ private newtype TSummaryCtx =
18051805
flow(p, true, TNil(_), conf) and
18061806
parameterFlowReturn(p, ret, _, _, _,
18071807
any(Summary s | s = TSummaryTaint() or s = TSummaryTaintStore(_)), conf) and
1808-
flow(ret, conf)
1808+
flow(ret, unbind(conf))
18091809
)
18101810
} or
18111811
TSummaryCtxConsNil(ParameterNode p, Content f) {
18121812
exists(Configuration conf, ReturnNodeExt ret |
18131813
flow(p, true, TConsNil(f, _), conf) and
18141814
parameterFlowReturn(p, ret, _, _, _, TSummaryReadTaint(f), conf) and
1815-
flow(ret, conf)
1815+
flow(ret, unbind(conf))
18161816
)
18171817
}
18181818

cpp/ql/src/semmle/code/cpp/dataflow/internal/DataFlowImpl3.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1805,14 +1805,14 @@ private newtype TSummaryCtx =
18051805
flow(p, true, TNil(_), conf) and
18061806
parameterFlowReturn(p, ret, _, _, _,
18071807
any(Summary s | s = TSummaryTaint() or s = TSummaryTaintStore(_)), conf) and
1808-
flow(ret, conf)
1808+
flow(ret, unbind(conf))
18091809
)
18101810
} or
18111811
TSummaryCtxConsNil(ParameterNode p, Content f) {
18121812
exists(Configuration conf, ReturnNodeExt ret |
18131813
flow(p, true, TConsNil(f, _), conf) and
18141814
parameterFlowReturn(p, ret, _, _, _, TSummaryReadTaint(f), conf) and
1815-
flow(ret, conf)
1815+
flow(ret, unbind(conf))
18161816
)
18171817
}
18181818

cpp/ql/src/semmle/code/cpp/dataflow/internal/DataFlowImpl4.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1805,14 +1805,14 @@ private newtype TSummaryCtx =
18051805
flow(p, true, TNil(_), conf) and
18061806
parameterFlowReturn(p, ret, _, _, _,
18071807
any(Summary s | s = TSummaryTaint() or s = TSummaryTaintStore(_)), conf) and
1808-
flow(ret, conf)
1808+
flow(ret, unbind(conf))
18091809
)
18101810
} or
18111811
TSummaryCtxConsNil(ParameterNode p, Content f) {
18121812
exists(Configuration conf, ReturnNodeExt ret |
18131813
flow(p, true, TConsNil(f, _), conf) and
18141814
parameterFlowReturn(p, ret, _, _, _, TSummaryReadTaint(f), conf) and
1815-
flow(ret, conf)
1815+
flow(ret, unbind(conf))
18161816
)
18171817
}
18181818

cpp/ql/src/semmle/code/cpp/dataflow/internal/DataFlowImplLocal.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1805,14 +1805,14 @@ private newtype TSummaryCtx =
18051805
flow(p, true, TNil(_), conf) and
18061806
parameterFlowReturn(p, ret, _, _, _,
18071807
any(Summary s | s = TSummaryTaint() or s = TSummaryTaintStore(_)), conf) and
1808-
flow(ret, conf)
1808+
flow(ret, unbind(conf))
18091809
)
18101810
} or
18111811
TSummaryCtxConsNil(ParameterNode p, Content f) {
18121812
exists(Configuration conf, ReturnNodeExt ret |
18131813
flow(p, true, TConsNil(f, _), conf) and
18141814
parameterFlowReturn(p, ret, _, _, _, TSummaryReadTaint(f), conf) and
1815-
flow(ret, conf)
1815+
flow(ret, unbind(conf))
18161816
)
18171817
}
18181818

cpp/ql/src/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1805,14 +1805,14 @@ private newtype TSummaryCtx =
18051805
flow(p, true, TNil(_), conf) and
18061806
parameterFlowReturn(p, ret, _, _, _,
18071807
any(Summary s | s = TSummaryTaint() or s = TSummaryTaintStore(_)), conf) and
1808-
flow(ret, conf)
1808+
flow(ret, unbind(conf))
18091809
)
18101810
} or
18111811
TSummaryCtxConsNil(ParameterNode p, Content f) {
18121812
exists(Configuration conf, ReturnNodeExt ret |
18131813
flow(p, true, TConsNil(f, _), conf) and
18141814
parameterFlowReturn(p, ret, _, _, _, TSummaryReadTaint(f), conf) and
1815-
flow(ret, conf)
1815+
flow(ret, unbind(conf))
18161816
)
18171817
}
18181818

cpp/ql/src/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl2.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1805,14 +1805,14 @@ private newtype TSummaryCtx =
18051805
flow(p, true, TNil(_), conf) and
18061806
parameterFlowReturn(p, ret, _, _, _,
18071807
any(Summary s | s = TSummaryTaint() or s = TSummaryTaintStore(_)), conf) and
1808-
flow(ret, conf)
1808+
flow(ret, unbind(conf))
18091809
)
18101810
} or
18111811
TSummaryCtxConsNil(ParameterNode p, Content f) {
18121812
exists(Configuration conf, ReturnNodeExt ret |
18131813
flow(p, true, TConsNil(f, _), conf) and
18141814
parameterFlowReturn(p, ret, _, _, _, TSummaryReadTaint(f), conf) and
1815-
flow(ret, conf)
1815+
flow(ret, unbind(conf))
18161816
)
18171817
}
18181818

cpp/ql/src/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl3.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1805,14 +1805,14 @@ private newtype TSummaryCtx =
18051805
flow(p, true, TNil(_), conf) and
18061806
parameterFlowReturn(p, ret, _, _, _,
18071807
any(Summary s | s = TSummaryTaint() or s = TSummaryTaintStore(_)), conf) and
1808-
flow(ret, conf)
1808+
flow(ret, unbind(conf))
18091809
)
18101810
} or
18111811
TSummaryCtxConsNil(ParameterNode p, Content f) {
18121812
exists(Configuration conf, ReturnNodeExt ret |
18131813
flow(p, true, TConsNil(f, _), conf) and
18141814
parameterFlowReturn(p, ret, _, _, _, TSummaryReadTaint(f), conf) and
1815-
flow(ret, conf)
1815+
flow(ret, unbind(conf))
18161816
)
18171817
}
18181818

cpp/ql/src/semmle/code/cpp/ir/dataflow/internal/DataFlowImpl4.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1805,14 +1805,14 @@ private newtype TSummaryCtx =
18051805
flow(p, true, TNil(_), conf) and
18061806
parameterFlowReturn(p, ret, _, _, _,
18071807
any(Summary s | s = TSummaryTaint() or s = TSummaryTaintStore(_)), conf) and
1808-
flow(ret, conf)
1808+
flow(ret, unbind(conf))
18091809
)
18101810
} or
18111811
TSummaryCtxConsNil(ParameterNode p, Content f) {
18121812
exists(Configuration conf, ReturnNodeExt ret |
18131813
flow(p, true, TConsNil(f, _), conf) and
18141814
parameterFlowReturn(p, ret, _, _, _, TSummaryReadTaint(f), conf) and
1815-
flow(ret, conf)
1815+
flow(ret, unbind(conf))
18161816
)
18171817
}
18181818

csharp/ql/src/semmle/code/csharp/dataflow/internal/DataFlowImpl.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1805,14 +1805,14 @@ private newtype TSummaryCtx =
18051805
flow(p, true, TNil(_), conf) and
18061806
parameterFlowReturn(p, ret, _, _, _,
18071807
any(Summary s | s = TSummaryTaint() or s = TSummaryTaintStore(_)), conf) and
1808-
flow(ret, conf)
1808+
flow(ret, unbind(conf))
18091809
)
18101810
} or
18111811
TSummaryCtxConsNil(ParameterNode p, Content f) {
18121812
exists(Configuration conf, ReturnNodeExt ret |
18131813
flow(p, true, TConsNil(f, _), conf) and
18141814
parameterFlowReturn(p, ret, _, _, _, TSummaryReadTaint(f), conf) and
1815-
flow(ret, conf)
1815+
flow(ret, unbind(conf))
18161816
)
18171817
}
18181818

0 commit comments

Comments
 (0)