File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed
java/ql/lib/semmle/code/java/dataflow/internal Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -478,3 +478,19 @@ predicate containerContent(Content c) {
478
478
c instanceof MapKeyContent or
479
479
c instanceof MapValueContent
480
480
}
481
+
482
+ /**
483
+ * Gets an additional term that is added to the `join` and `branch` computations to reflect
484
+ * an additional forward or backwards branching factor that is not taken into account
485
+ * when calculating the (virtual) dispatch cost.
486
+ *
487
+ * `call` is a call with an argument `arg` that is part of a path from a source to a sink, and
488
+ * `p` is the target parameter of a callable to which `call` may resolve.
489
+ *
490
+ * All these values are bound by the dataflow library, and if this predicate is implemented it
491
+ * should be specified with a bindingset annotation that binds all the columns.
492
+ */
493
+ bindingset [ call, p, arg]
494
+ int getAdditionalFlowIntoCallNodeTerm ( DataFlowCall call , ParameterNode p , ArgumentNode arg ) {
495
+ none ( )
496
+ }
You can’t perform that action at this time.
0 commit comments