@@ -38,7 +38,7 @@ class FieldTaintStep extends TaintTracking::AdditionalTaintStep {
3838class NotifyWaitTaintStep extends TaintTracking:: AdditionalTaintStep {
3939 override predicate step ( DataFlow:: Node n1 , DataFlow:: Node n2 ) {
4040 exists (
41- MethodAccess notify , RefType t , MethodAccess wait , SynchronizedStmt notifySync ,
41+ MethodCall notify , RefType t , MethodCall wait , SynchronizedStmt notifySync ,
4242 SynchronizedStmt waitSync
4343 |
4444 notify .getMethod ( ) .getName ( ) = [ "notify" , "notifyAll" ] and
@@ -65,7 +65,7 @@ class NotifyWaitTaintStep extends TaintTracking::AdditionalTaintStep {
6565 */
6666class ExceptionTaintStep extends TaintTracking:: AdditionalTaintStep {
6767 override predicate step ( DataFlow:: Node n1 , DataFlow:: Node n2 ) {
68- exists ( Call call , TryStmt t , CatchClause c , MethodAccess gm |
68+ exists ( Call call , TryStmt t , CatchClause c , MethodCall gm |
6969 call .getEnclosingStmt ( ) .getEnclosingStmt * ( ) = t .getBlock ( ) and
7070 t .getACatchClause ( ) = c and
7171 (
@@ -85,7 +85,7 @@ class ExceptionTaintStep extends TaintTracking::AdditionalTaintStep {
8585 */
8686private class GetterTaintStep extends TaintTracking:: AdditionalTaintStep {
8787 override predicate step ( DataFlow:: Node n1 , DataFlow:: Node n2 ) {
88- exists ( MethodAccess ma , Method m |
88+ exists ( MethodCall ma , Method m |
8989 ma .getMethod ( ) = m and
9090 m .getName ( ) .matches ( "get%" ) and
9191 m .getNumberOfParameters ( ) = 0 and
@@ -97,7 +97,7 @@ private class GetterTaintStep extends TaintTracking::AdditionalTaintStep {
9797/*
9898 * private class SetterTaintStep extends TaintTracking::AdditionalTaintStep {
9999 * override predicate step(DataFlow::Node n1, DataFlow::Node n2) {
100- * exists(MethodAccess ma, Method m |
100+ * exists(MethodCall ma, Method m |
101101 * ma.getMethod() = m and
102102 * m.getName().matches("set%") and
103103 * m.getNumberOfParameters() = 1 and
@@ -110,8 +110,8 @@ private class GetterTaintStep extends TaintTracking::AdditionalTaintStep {
110110 *
111111 * class GlobalSanitizer extends TaintTracking::Sanitizer {
112112 * override predicate sanitize(DataFlow::Node node) {
113- * node.asExpr().(MethodAccess ).getMethod().hasName("getInputStream") or
114- * node.asExpr().(MethodAccess ).getMethod().hasName("getHostName")
113+ * node.asExpr().(MethodCall ).getMethod().hasName("getInputStream") or
114+ * node.asExpr().(MethodCall ).getMethod().hasName("getHostName")
115115 * }
116116 * }
117117 */
0 commit comments