mirror of
https://github.com/github/codeql.git
synced 2026-05-02 12:15:17 +02:00
Fix query12 and add test case
This commit is contained in:
@@ -4,7 +4,7 @@ query predicate test_query12(MethodCallExpr send) {
|
||||
exists(SimpleParameter res, DataFlow::Node resNode |
|
||||
res.getName() = "res" and
|
||||
resNode = DataFlow::parameterNode(res) and
|
||||
resNode.getASuccessor() = DataFlow::valueNode(send.getReceiver()) and
|
||||
resNode.getASuccessor+() = DataFlow::valueNode(send.getReceiver()) and
|
||||
send.getMethodName() = "send"
|
||||
|
|
||||
any()
|
||||
|
||||
Reference in New Issue
Block a user