@@ -43,7 +43,7 @@ module NormalHashFunctionFlow {
4343 }
4444 }
4545
46- module Flow = TaintTracking:: Global< Config > ;
46+ import TaintTracking:: Global< Config >
4747}
4848
4949/**
@@ -74,7 +74,7 @@ module ComputationallyExpensiveHashFunctionFlow {
7474 }
7575 }
7676
77- module Flow = TaintTracking:: Global< Config > ;
77+ import TaintTracking:: Global< Config >
7878}
7979
8080/**
@@ -83,23 +83,23 @@ module ComputationallyExpensiveHashFunctionFlow {
8383 * merged to generate a combined path graph.
8484 */
8585module WeakSensitiveDataHashingFlow =
86- DataFlow:: MergePathGraph< NormalHashFunctionFlow:: Flow :: PathNode ,
87- ComputationallyExpensiveHashFunctionFlow:: Flow :: PathNode ,
88- NormalHashFunctionFlow:: Flow :: PathGraph ,
89- ComputationallyExpensiveHashFunctionFlow:: Flow :: PathGraph > ;
86+ DataFlow:: MergePathGraph< NormalHashFunctionFlow:: PathNode ,
87+ ComputationallyExpensiveHashFunctionFlow:: PathNode ,
88+ NormalHashFunctionFlow:: PathGraph ,
89+ ComputationallyExpensiveHashFunctionFlow:: PathGraph > ;
9090
9191import WeakSensitiveDataHashingFlow:: PathGraph
9292
9393from
9494 WeakSensitiveDataHashingFlow:: PathNode source , WeakSensitiveDataHashingFlow:: PathNode sink ,
9595 string ending , string algorithmName , string classification
9696where
97- NormalHashFunctionFlow:: Flow :: flowPath ( source .asPathNode1 ( ) , sink .asPathNode1 ( ) ) and
97+ NormalHashFunctionFlow:: flowPath ( source .asPathNode1 ( ) , sink .asPathNode1 ( ) ) and
9898 algorithmName = sink .getNode ( ) .( NormalHashFunction:: Sink ) .getAlgorithmName ( ) and
9999 classification = source .getNode ( ) .( NormalHashFunction:: Source ) .getClassification ( ) and
100100 ending = "."
101101 or
102- ComputationallyExpensiveHashFunctionFlow:: Flow :: flowPath ( source .asPathNode2 ( ) , sink .asPathNode2 ( ) ) and
102+ ComputationallyExpensiveHashFunctionFlow:: flowPath ( source .asPathNode2 ( ) , sink .asPathNode2 ( ) ) and
103103 algorithmName = sink .getNode ( ) .( ComputationallyExpensiveHashFunction:: Sink ) .getAlgorithmName ( ) and
104104 classification =
105105 source .getNode ( ) .( ComputationallyExpensiveHashFunction:: Source ) .getClassification ( ) and
0 commit comments