mirror of
https://github.com/github/codeql.git
synced 2026-05-05 21:55:19 +02:00
Mass-rename MethodAccess -> MethodCall
This commit is contained in:
@@ -3,11 +3,11 @@ import semmle.code.java.dataflow.DataFlow
|
||||
|
||||
module Config implements DataFlow::ConfigSig {
|
||||
predicate isSource(DataFlow::Node src) {
|
||||
src.asExpr().(MethodAccess).getMethod().hasName("source")
|
||||
src.asExpr().(MethodCall).getMethod().hasName("source")
|
||||
}
|
||||
|
||||
predicate isSink(DataFlow::Node sink) {
|
||||
exists(MethodAccess ma |
|
||||
exists(MethodCall ma |
|
||||
sink.asExpr() = ma.getAnArgument() and
|
||||
ma.getMethod().hasName("sink")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user