CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.14 (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)