flow(_, sink) to flowTo(sink)

Co-authored-by: Tony Torralba <atorralba@users.noreply.github.com>
This commit is contained in:
Edward Minnix III
2023-04-05 13:34:40 -04:00
committed by Ed Minnix
parent 5ed1868324
commit 3e55c47e3e

View File

@@ -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 = ""