mirror of
https://github.com/github/codeql.git
synced 2026-03-03 14:29:49 +01:00
Mass-rename MethodAccess -> MethodCall
This commit is contained in:
@@ -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)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user