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

@@ -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() }