Fix qhelp errors and ql-for-ql errors

This commit is contained in:
Joe Farebrother
2023-01-11 15:46:38 +00:00
parent f52db7f9a3
commit 639c42c9e9
2 changed files with 4 additions and 4 deletions

View File

@@ -14,8 +14,8 @@ class ResultReceiverTest extends InlineExpectationsTest {
override string getARelevantTag() { result = "hasSensitiveResultReceiver" }
override predicate hasActualResult(Location loc, string element, string tag, string value) {
exists(DataFlow::PathNode src, DataFlow::PathNode sink, DataFlow::Node recSrc |
sensitiveResultReceiver(src, sink, recSrc) and
exists(DataFlow::PathNode sink |
sensitiveResultReceiver(_, sink, _) and
element = sink.toString() and
loc = sink.getNode().getLocation() and
tag = "hasSensitiveResultReceiver" and