CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.4.1 (changelog, source)
Search

Predicate UnsafeJQueryPluginConfig::getASelectedSourceLocation

Gets a location that will be associated with the given source in a diff-informed query that uses this configuration (see observeDiffInformedIncrementalMode). By default, this is the location of the source itself, but this predicate should include any locations that are reported as the primary-location of the query or as an additional location (“$@” interpolation). For a query that doesn’t report the source at all, this predicate can be none().

Import path

import semmle.javascript.security.dataflow.UnsafeJQueryPluginQuery
Location getASelectedSourceLocation(Node source)