@@ -95,7 +95,7 @@ private class ProduceCiphertextCall extends ProduceCryptoCall {
9595}
9696
9797/** Holds if `fromNode` to `toNode` is a dataflow step that updates a cryptographic operation. */
98- private predicate updateCryptoOperationStep ( DataFlow2 :: Node fromNode , DataFlow2 :: Node toNode ) {
98+ private predicate updateCryptoOperationStep ( DataFlow :: Node fromNode , DataFlow :: Node toNode ) {
9999 exists ( MethodCall call , Method m |
100100 m = call .getMethod ( ) and
101101 call .getQualifier ( ) = toNode .asExpr ( ) and
@@ -111,7 +111,7 @@ private predicate updateCryptoOperationStep(DataFlow2::Node fromNode, DataFlow2:
111111}
112112
113113/** Holds if `fromNode` to `toNode` is a dataflow step that creates a hash. */
114- private predicate createMessageDigestStep ( DataFlow2 :: Node fromNode , DataFlow2 :: Node toNode ) {
114+ private predicate createMessageDigestStep ( DataFlow :: Node fromNode , DataFlow :: Node toNode ) {
115115 exists ( MethodCall ma , Method m | m = ma .getMethod ( ) |
116116 m .getDeclaringType ( ) .hasQualifiedName ( "java.security" , "MessageDigest" ) and
117117 m .hasStringSignature ( "digest()" ) and
@@ -135,7 +135,7 @@ private predicate createMessageDigestStep(DataFlow2::Node fromNode, DataFlow2::N
135135}
136136
137137/** Holds if `fromNode` to `toNode` is a dataflow step that updates a hash. */
138- private predicate updateMessageDigestStep ( DataFlow2 :: Node fromNode , DataFlow2 :: Node toNode ) {
138+ private predicate updateMessageDigestStep ( DataFlow :: Node fromNode , DataFlow :: Node toNode ) {
139139 exists ( MethodCall ma , Method m | m = ma .getMethod ( ) |
140140 m .hasQualifiedName ( "java.security" , "MessageDigest" , "update" ) and
141141 ma .getArgument ( 0 ) = fromNode .asExpr ( ) and
@@ -154,7 +154,7 @@ private module UserInputInCryptoOperationConfig implements DataFlow::ConfigSig {
154154 exists ( ProduceCryptoCall call | call .getQualifier ( ) = sink .asExpr ( ) )
155155 }
156156
157- predicate isAdditionalFlowStep ( DataFlow2 :: Node fromNode , DataFlow2 :: Node toNode ) {
157+ predicate isAdditionalFlowStep ( DataFlow :: Node fromNode , DataFlow :: Node toNode ) {
158158 updateCryptoOperationStep ( fromNode , toNode )
159159 or
160160 createMessageDigestStep ( fromNode , toNode )
0 commit comments