mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
DataFlow: Remove bindingsets, remove the call column, and swap parameter and argument columns.
This commit is contained in:
@@ -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() }
|
||||
|
||||
@@ -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() }
|
||||
|
||||
@@ -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() }
|
||||
|
||||
@@ -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() }
|
||||
|
||||
@@ -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() }
|
||||
|
||||
@@ -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() }
|
||||
|
||||
@@ -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() }
|
||||
|
||||
@@ -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() }
|
||||
|
||||
@@ -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() }
|
||||
|
||||
Reference in New Issue
Block a user