mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
Mass-rename MethodAccess -> MethodCall
This commit is contained in:
@@ -4,7 +4,7 @@ class StringConcat extends AddExpr {
|
||||
StringConcat() { getType() instanceof TypeString }
|
||||
}
|
||||
|
||||
from MethodAccess ma
|
||||
from MethodCall ma
|
||||
where
|
||||
ma.getMethod().getName().matches("sparql%Query") and
|
||||
ma.getArgument(0) instanceof StringConcat
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import java
|
||||
import semmle.code.java.dataflow.DataFlow::DataFlow
|
||||
|
||||
from MethodAccess ma, StringConcat stringConcat
|
||||
from MethodCall ma, StringConcat stringConcat
|
||||
where
|
||||
ma.getMethod().getName().matches("sparql%Query") and
|
||||
localFlow(exprNode(stringConcat), exprNode(ma.getArgument(0)))
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import java
|
||||
|
||||
from Method m, MethodAccess ma
|
||||
from Method m, MethodCall ma
|
||||
where
|
||||
m.getName().matches("sparql%Query") and
|
||||
ma.getMethod() = m
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import java
|
||||
|
||||
from Method m, MethodAccess ma
|
||||
from Method m, MethodCall ma
|
||||
where
|
||||
m.getName().matches("sparql%Query") and
|
||||
ma.getMethod() = m and
|
||||
|
||||
@@ -2,7 +2,7 @@ import java
|
||||
|
||||
predicate isStringConcat(AddExpr ae) { ae.getType() instanceof TypeString }
|
||||
|
||||
from Method m, MethodAccess ma
|
||||
from Method m, MethodCall ma
|
||||
where
|
||||
m.getName().matches("sparql%Query") and
|
||||
ma.getMethod() = m and
|
||||
|
||||
Reference in New Issue
Block a user