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

Member predicate TaintTracking :: 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 ( )