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