File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
shared/dataflow/codeql/dataflow Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -342,6 +342,9 @@ signature module InputSig<LocationSig Location> {
342
342
any ( )
343
343
}
344
344
345
+ /** Gets the default value for the `fieldFlowBranchLimit` */
346
+ default int defaultFieldFlowBranchLimit ( ) { result = 2 }
347
+
345
348
/** Holds if `fieldFlowBranchLimit` should be ignored for flow going into/out of `c`. */
346
349
default predicate ignoreFieldFlowBranchLimit ( DataFlowCallable c ) { none ( ) }
347
350
}
@@ -399,7 +402,7 @@ module Configs<LocationSig Location, InputSig<Location> Lang> {
399
402
* This can be overridden to a smaller value to improve performance (a
400
403
* value of 0 disables field flow), or a larger value to get more results.
401
404
*/
402
- default int fieldFlowBranchLimit ( ) { result = 2 }
405
+ default int fieldFlowBranchLimit ( ) { result = Lang :: defaultFieldFlowBranchLimit ( ) }
403
406
404
407
/** Gets the access path limit. */
405
408
default int accessPathLimit ( ) { result = Lang:: accessPathLimit ( ) }
@@ -548,7 +551,7 @@ module Configs<LocationSig Location, InputSig<Location> Lang> {
548
551
* This can be overridden to a smaller value to improve performance (a
549
552
* value of 0 disables field flow), or a larger value to get more results.
550
553
*/
551
- default int fieldFlowBranchLimit ( ) { result = 2 }
554
+ default int fieldFlowBranchLimit ( ) { result = Lang :: defaultFieldFlowBranchLimit ( ) }
552
555
553
556
/** Gets the access path limit. */
554
557
default int accessPathLimit ( ) { result = Lang:: accessPathLimit ( ) }
You can’t perform that action at this time.
0 commit comments