mirror of
https://github.com/github/codeql.git
synced 2025-12-20 02:44:30 +01:00
8 lines
267 B
Plaintext
8 lines
267 B
Plaintext
import python
|
|
import semmle.python.dataflow.new.DataFlow
|
|
|
|
query predicate parameterWithoutNode(Parameter p, string msg) {
|
|
not exists(DataFlow::ParameterNode node | p = node.getParameter()) and
|
|
msg = "There is no `ParameterNode` associated with this parameter."
|
|
}
|