File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
java/ql/lib/semmle/code/java/security Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,18 @@ private module PredictableSeedFlowConfig implements DataFlow::ConfigSig {
37
37
predicate isAdditionalFlowStep ( DataFlow:: Node node1 , DataFlow:: Node node2 ) {
38
38
predictableCalcStep ( node1 .asExpr ( ) , node2 .asExpr ( ) )
39
39
}
40
+
41
+ predicate observeDiffInformedIncrementalMode ( ) { any ( ) }
42
+
43
+ Location getASelectedSinkLocation ( DataFlow:: Node sink ) {
44
+ // This predicate matches `PredictableSeed.ql`, which is the only place
45
+ // where `PredictableSeedFlowConfig` is used.
46
+ exists ( GetRandomData da , VarRead use |
47
+ result = da .getLocation ( ) and
48
+ da .getQualifier ( ) = use and
49
+ isSeeding ( sink .asExpr ( ) , use )
50
+ )
51
+ }
40
52
}
41
53
42
54
private module PredictableSeedFlow = DataFlow:: Global< PredictableSeedFlowConfig > ;
You can’t perform that action at this time.
0 commit comments