mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
flow(_, sink) to flowTo(sink)
Co-authored-by: Tony Torralba <atorralba@users.noreply.github.com>
This commit is contained in:
committed by
Ed Minnix
parent
5ed1868324
commit
3e55c47e3e
@@ -9,7 +9,7 @@ class HardcodedCredentialsSourceCallTest extends InlineExpectationsTest {
|
||||
|
||||
override predicate hasActualResult(Location location, string element, string tag, string value) {
|
||||
tag = "HardcodedCredentialsSourceCall" and
|
||||
exists(DataFlow::Node sink | HardcodedCredentialSourceCallFlow::flow(_, sink) |
|
||||
exists(DataFlow::Node sink | HardcodedCredentialSourceCallFlow::flowTo(sink) |
|
||||
sink.getLocation() = location and
|
||||
element = sink.toString() and
|
||||
value = ""
|
||||
|
||||
Reference in New Issue
Block a user