mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Revert "Dataflow: Count callables instead of nodes for fieldFlowBranchLimit."
This reverts commit 1501a40de8.
This commit is contained in:
@@ -649,12 +649,8 @@ private predicate flowIntoCallNodeCand1(
|
||||
*/
|
||||
private int branch(Node n1, Configuration conf) {
|
||||
result =
|
||||
strictcount(DataFlowCallable callable |
|
||||
exists(Node n |
|
||||
flowOutOfCallNodeCand1(_, n1, n, conf) or flowIntoCallNodeCand1(_, n1, n, conf)
|
||||
|
|
||||
callable = n.getEnclosingCallable()
|
||||
)
|
||||
strictcount(Node n |
|
||||
flowOutOfCallNodeCand1(_, n1, n, conf) or flowIntoCallNodeCand1(_, n1, n, conf)
|
||||
)
|
||||
}
|
||||
|
||||
@@ -665,12 +661,8 @@ private int branch(Node n1, Configuration conf) {
|
||||
*/
|
||||
private int join(Node n2, Configuration conf) {
|
||||
result =
|
||||
strictcount(DataFlowCallable callable |
|
||||
exists(Node n |
|
||||
flowOutOfCallNodeCand1(_, n, n2, conf) or flowIntoCallNodeCand1(_, n, n2, conf)
|
||||
|
|
||||
callable = n.getEnclosingCallable()
|
||||
)
|
||||
strictcount(Node n |
|
||||
flowOutOfCallNodeCand1(_, n, n2, conf) or flowIntoCallNodeCand1(_, n, n2, conf)
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -649,12 +649,8 @@ private predicate flowIntoCallNodeCand1(
|
||||
*/
|
||||
private int branch(Node n1, Configuration conf) {
|
||||
result =
|
||||
strictcount(DataFlowCallable callable |
|
||||
exists(Node n |
|
||||
flowOutOfCallNodeCand1(_, n1, n, conf) or flowIntoCallNodeCand1(_, n1, n, conf)
|
||||
|
|
||||
callable = n.getEnclosingCallable()
|
||||
)
|
||||
strictcount(Node n |
|
||||
flowOutOfCallNodeCand1(_, n1, n, conf) or flowIntoCallNodeCand1(_, n1, n, conf)
|
||||
)
|
||||
}
|
||||
|
||||
@@ -665,12 +661,8 @@ private int branch(Node n1, Configuration conf) {
|
||||
*/
|
||||
private int join(Node n2, Configuration conf) {
|
||||
result =
|
||||
strictcount(DataFlowCallable callable |
|
||||
exists(Node n |
|
||||
flowOutOfCallNodeCand1(_, n, n2, conf) or flowIntoCallNodeCand1(_, n, n2, conf)
|
||||
|
|
||||
callable = n.getEnclosingCallable()
|
||||
)
|
||||
strictcount(Node n |
|
||||
flowOutOfCallNodeCand1(_, n, n2, conf) or flowIntoCallNodeCand1(_, n, n2, conf)
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user