CodeQL library for Python
codeql/python-all 0.11.13 (changelog, source)
Search

Member predicate ModelInput::TypeModel::getASink

Gets a data-flow node that is a sink of the given type, usually because it is an argument passed to a parameter of that type.

This must not depend on API graphs, but ensures that an API node is generated for the sink.

Node getASink(string type)