Mass-rename MethodAccess -> MethodCall

This commit is contained in:
Chris Smowton
2023-10-24 10:30:26 +01:00
committed by GitHub
parent a10731c591
commit f552a15aae
404 changed files with 1147 additions and 1138 deletions

View File

@@ -13,8 +13,8 @@ private predicate isDebugCheck(Expr ex) {
|
subex.(VarAccess).getVariable().getName() = debug
or
subex.(MethodAccess).getMethod().hasName("getProperty") and
subex.(MethodAccess).getAnArgument().(CompileTimeConstantExpr).getStringValue() = debug
subex.(MethodCall).getMethod().hasName("getProperty") and
subex.(MethodCall).getAnArgument().(CompileTimeConstantExpr).getStringValue() = debug
)
}
@@ -31,7 +31,7 @@ deprecated class WebviewDebugEnabledConfig extends DataFlow::Configuration {
}
override predicate isSink(DataFlow::Node node) {
exists(MethodAccess ma |
exists(MethodCall ma |
ma.getMethod().hasQualifiedName("android.webkit", "WebView", "setWebContentsDebuggingEnabled") and
node.asExpr() = ma.getArgument(0)
)
@@ -51,7 +51,7 @@ module WebviewDebugEnabledConfig implements DataFlow::ConfigSig {
}
predicate isSink(DataFlow::Node node) {
exists(MethodAccess ma |
exists(MethodCall ma |
ma.getMethod().hasQualifiedName("android.webkit", "WebView", "setWebContentsDebuggingEnabled") and
node.asExpr() = ma.getArgument(0)
)