mirror of
https://github.com/github/codeql.git
synced 2026-01-29 22:32:58 +01:00
Use CallNode
This commit is contained in:
@@ -165,10 +165,10 @@ class GorillaCookieStoreSaveTrackingConfiguration extends DataFlow::Configuratio
|
||||
}
|
||||
|
||||
override predicate isSource(DataFlow::Node source) {
|
||||
exists(CallExpr c |
|
||||
source.asExpr() = c and
|
||||
c.getTarget().hasQualifiedName("github.com/gorilla/sessions", "NewCookieStore")
|
||||
)
|
||||
source
|
||||
.(DataFlow::CallNode)
|
||||
.getTarget()
|
||||
.hasQualifiedName("github.com/gorilla/sessions", "NewCookieStore")
|
||||
}
|
||||
|
||||
override predicate isSink(DataFlow::Node sink) { sink instanceof GorillaSessionSaveSink }
|
||||
|
||||
Reference in New Issue
Block a user