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

Member predicate ModelInput::TypeModel::getAnApiNode

Gets an API node that is a source or sink of the given type.

Note that type should also be included in isTypeUsed.

Unlike getASource and getASink, this may depend on API graphs.

Node getAnApiNode(string type)