CodeQL library for Ruby
codeql/ruby-all 3.0.3-dev (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.

Note that type should also be included in isTypeUsed.

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

Node getASink(string type)