CodeQL library for JavaScript
codeql/javascript-all 0.5.1 ( changelog , source )

Member predicate DataFlow :: Configuration :: getDefaultSourceLabel

Gets the flow label to associate with sources added by the 1-argument isSource predicate.

For taint-tracking configurations, this defaults to taint and for other data-flow configurations it defaults to data.

Overriding this predicate is rarely needed, and overriding the 2-argument isSource predicate should be preferred when possible.

FlowLabel getDefaultSourceLabel ( )