mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
C++: Add stub.
This commit is contained in:
@@ -565,3 +565,19 @@ private class MyConsistencyConfiguration extends Consistency::ConsistencyConfigu
|
||||
any()
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets an additional term that is added to the `join` and `branch` computations to reflect
|
||||
* 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.
|
||||
*/
|
||||
bindingset[call, p, arg]
|
||||
int getAdditionalFlowIntoCallNodeTerm(DataFlowCall call, ParameterNode p, ArgumentNode arg) {
|
||||
none()
|
||||
}
|
||||
|
||||
@@ -318,3 +318,19 @@ private class MyConsistencyConfiguration extends Consistency::ConsistencyConfigu
|
||||
// consistency alerts enough that most of them are interesting.
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets an additional term that is added to the `join` and `branch` computations to reflect
|
||||
* 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.
|
||||
*/
|
||||
bindingset[call, p, arg]
|
||||
int getAdditionalFlowIntoCallNodeTerm(DataFlowCall call, ParameterNode p, ArgumentNode arg) {
|
||||
none()
|
||||
}
|
||||
|
||||
@@ -414,3 +414,19 @@ private class MyConsistencyConfiguration extends Consistency::ConsistencyConfigu
|
||||
any()
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets an additional term that is added to the `join` and `branch` computations to reflect
|
||||
* 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.
|
||||
*/
|
||||
bindingset[call, p, arg]
|
||||
int getAdditionalFlowIntoCallNodeTerm(DataFlowCall call, ParameterNode p, ArgumentNode arg) {
|
||||
none()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user