File tree 1 file changed +3
-7
lines changed
java/ql/lib/semmle/code/java/dataflow/internal
1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -598,13 +598,9 @@ private predicate hasSinkCallCtx(Configuration config) {
598
598
}
599
599
600
600
private module Stage1 implements StageSig {
601
- class ApApprox = Unit ;
602
-
603
601
class Ap = Unit ;
604
602
605
- class ApOption = Unit ;
606
-
607
- class Cc = boolean ;
603
+ private class Cc = boolean ;
608
604
609
605
/* Begin: Stage 1 logic. */
610
606
/**
@@ -613,7 +609,7 @@ private module Stage1 implements StageSig {
613
609
* The Boolean `cc` records whether the node is reached through an
614
610
* argument in a call.
615
611
*/
616
- predicate fwdFlow ( NodeEx node , Cc cc , Configuration config ) {
612
+ private predicate fwdFlow ( NodeEx node , Cc cc , Configuration config ) {
617
613
sourceNode ( node , _, config ) and
618
614
if hasSourceCallCtx ( config ) then cc = true else cc = false
619
615
or
@@ -753,7 +749,7 @@ private module Stage1 implements StageSig {
753
749
* the enclosing callable in order to reach a sink.
754
750
*/
755
751
pragma [ nomagic]
756
- predicate revFlow ( NodeEx node , boolean toReturn , Configuration config ) {
752
+ private predicate revFlow ( NodeEx node , boolean toReturn , Configuration config ) {
757
753
revFlow0 ( node , toReturn , config ) and
758
754
fwdFlow ( node , config )
759
755
}
You can’t perform that action at this time.
0 commit comments