Files
codeql/javascript/ql/experimental/adaptivethreatmodeling/lib
Aditya Sharad 1d507f1993 JS: Improve performance of StandardEndpointFilters::isNumeric
Factor the regex-independent logic of `isReadFrom` into its own predicate.

Call this predicate directly from `isNumeric`, which doesn't have much
restrictive context on the set of starting nodes.
Use a binding hint to discourage starting with all expr nodes in this case.

Other callers may have more restrictive context on the set of nodes,
so they are not changed.
2022-01-18 16:23:04 +00:00
..