mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
13 lines
332 B
Plaintext
13 lines
332 B
Plaintext
import javascript
|
|
|
|
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
|
|
send.getMethodName() = "send"
|
|
|
|
|
any()
|
|
)
|
|
}
|