DataFlow: Remove bindingsets, remove the call column, and swap parameter and argument columns.

This commit is contained in:
Mathias Vorreiter Pedersen
2023-03-03 13:14:40 +00:00
parent 3bf28cc752
commit 92ad099c1b
9 changed files with 18 additions and 81 deletions

View File

@@ -571,13 +571,6 @@ private class MyConsistencyConfiguration extends Consistency::ConsistencyConfigu
* an additional forward or backwards branching factor that is not taken into account
* when calculating the (virtual) dispatch cost.
*
* `call` is a call with an argument `arg` that is part of a path from a source to a sink, and
* `p` is the target parameter of a callable to which `call` may resolve.
*
* All these values are bound by the dataflow library, and if this predicate is implemented it
* should be specified with a bindingset annotation that binds all the columns.
* Argument `arg` is part of a path from a source to a sink, and `p` is the target parameter.
*/
bindingset[call, p, arg]
int getAdditionalFlowIntoCallNodeTerm(DataFlowCall call, ParameterNode p, ArgumentNode arg) {
none()
}
int getAdditionalFlowIntoCallNodeTerm(ArgumentNode arg, ParameterNode p) { none() }

View File

@@ -324,13 +324,6 @@ private class MyConsistencyConfiguration extends Consistency::ConsistencyConfigu
* an additional forward or backwards branching factor that is not taken into account
* when calculating the (virtual) dispatch cost.
*
* `call` is a call with an argument `arg` that is part of a path from a source to a sink, and
* `p` is the target parameter of a callable to which `call` may resolve.
*
* All these values are bound by the dataflow library, and if this predicate is implemented it
* should be specified with a bindingset annotation that binds all the columns.
* Argument `arg` is part of a path from a source to a sink, and `p` is the target parameter.
*/
bindingset[call, p, arg]
int getAdditionalFlowIntoCallNodeTerm(DataFlowCall call, ParameterNode p, ArgumentNode arg) {
none()
}
int getAdditionalFlowIntoCallNodeTerm(ArgumentNode arg, ParameterNode p) { none() }

View File

@@ -420,13 +420,6 @@ private class MyConsistencyConfiguration extends Consistency::ConsistencyConfigu
* an additional forward or backwards branching factor that is not taken into account
* when calculating the (virtual) dispatch cost.
*
* `call` is a call with an argument `arg` that is part of a path from a source to a sink, and
* `p` is the target parameter of a callable to which `call` may resolve.
*
* All these values are bound by the dataflow library, and if this predicate is implemented it
* should be specified with a bindingset annotation that binds all the columns.
* Argument `arg` is part of a path from a source to a sink, and `p` is the target parameter.
*/
bindingset[call, p, arg]
int getAdditionalFlowIntoCallNodeTerm(DataFlowCall call, ParameterNode p, ArgumentNode arg) {
none()
}
int getAdditionalFlowIntoCallNodeTerm(ArgumentNode arg, ParameterNode p) { none() }

View File

@@ -2380,13 +2380,6 @@ module Csv {
* an additional forward or backwards branching factor that is not taken into account
* when calculating the (virtual) dispatch cost.
*
* `call` is a call with an argument `arg` that is part of a path from a source to a sink, and
* `p` is the target parameter of a callable to which `call` may resolve.
*
* All these values are bound by the dataflow library, and if this predicate is implemented it
* should be specified with a bindingset annotation that binds all the columns.
* Argument `arg` is part of a path from a source to a sink, and `p` is the target parameter.
*/
bindingset[call, p, arg]
int getAdditionalFlowIntoCallNodeTerm(DataFlowCall call, ParameterNode p, ArgumentNode arg) {
none()
}
int getAdditionalFlowIntoCallNodeTerm(ArgumentNode arg, ParameterNode p) { none() }

View File

@@ -396,13 +396,6 @@ ContentApprox getContentApprox(Content c) { any() }
* an additional forward or backwards branching factor that is not taken into account
* when calculating the (virtual) dispatch cost.
*
* `call` is a call with an argument `arg` that is part of a path from a source to a sink, and
* `p` is the target parameter of a callable to which `call` may resolve.
*
* All these values are bound by the dataflow library, and if this predicate is implemented it
* should be specified with a bindingset annotation that binds all the columns.
* Argument `arg` is part of a path from a source to a sink, and `p` is the target parameter.
*/
bindingset[call, p, arg]
int getAdditionalFlowIntoCallNodeTerm(DataFlowCall call, ParameterNode p, ArgumentNode arg) {
none()
}
int getAdditionalFlowIntoCallNodeTerm(ArgumentNode arg, ParameterNode p) { none() }

View File

@@ -484,13 +484,6 @@ predicate containerContent(Content c) {
* an additional forward or backwards branching factor that is not taken into account
* when calculating the (virtual) dispatch cost.
*
* `call` is a call with an argument `arg` that is part of a path from a source to a sink, and
* `p` is the target parameter of a callable to which `call` may resolve.
*
* All these values are bound by the dataflow library, and if this predicate is implemented it
* should be specified with a bindingset annotation that binds all the columns.
* Argument `arg` is part of a path from a source to a sink, and `p` is the target parameter.
*/
bindingset[call, p, arg]
int getAdditionalFlowIntoCallNodeTerm(DataFlowCall call, ParameterNode p, ArgumentNode arg) {
none()
}
int getAdditionalFlowIntoCallNodeTerm(ArgumentNode arg, ParameterNode p) { none() }

View File

@@ -1014,13 +1014,6 @@ ContentApprox getContentApprox(Content c) { any() }
* an additional forward or backwards branching factor that is not taken into account
* when calculating the (virtual) dispatch cost.
*
* `call` is a call with an argument `arg` that is part of a path from a source to a sink, and
* `p` is the target parameter of a callable to which `call` may resolve.
*
* All these values are bound by the dataflow library, and if this predicate is implemented it
* should be specified with a bindingset annotation that binds all the columns.
* Argument `arg` is part of a path from a source to a sink, and `p` is the target parameter.
*/
bindingset[call, p, arg]
int getAdditionalFlowIntoCallNodeTerm(DataFlowCall call, ParameterNode p, ArgumentNode arg) {
none()
}
int getAdditionalFlowIntoCallNodeTerm(ArgumentNode arg, ParameterNode p) { none() }

View File

@@ -1504,13 +1504,6 @@ class AdditionalJumpStep extends Unit {
* an additional forward or backwards branching factor that is not taken into account
* when calculating the (virtual) dispatch cost.
*
* `call` is a call with an argument `arg` that is part of a path from a source to a sink, and
* `p` is the target parameter of a callable to which `call` may resolve.
*
* All these values are bound by the dataflow library, and if this predicate is implemented it
* should be specified with a bindingset annotation that binds all the columns.
* Argument `arg` is part of a path from a source to a sink, and `p` is the target parameter.
*/
bindingset[call, p, arg]
int getAdditionalFlowIntoCallNodeTerm(DataFlowCall call, ParameterNode p, ArgumentNode arg) {
none()
}
int getAdditionalFlowIntoCallNodeTerm(ArgumentNode arg, ParameterNode p) { none() }

View File

@@ -702,13 +702,6 @@ ContentApprox getContentApprox(Content c) { any() }
* an additional forward or backwards branching factor that is not taken into account
* when calculating the (virtual) dispatch cost.
*
* `call` is a call with an argument `arg` that is part of a path from a source to a sink, and
* `p` is the target parameter of a callable to which `call` may resolve.
*
* All these values are bound by the dataflow library, and if this predicate is implemented it
* should be specified with a bindingset annotation that binds all the columns.
* Argument `arg` is part of a path from a source to a sink, and `p` is the target parameter.
*/
bindingset[call, p, arg]
int getAdditionalFlowIntoCallNodeTerm(DataFlowCall call, ParameterNode p, ArgumentNode arg) {
none()
}
int getAdditionalFlowIntoCallNodeTerm(ArgumentNode arg, ParameterNode p) { none() }