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