mirror of
https://github.com/github/codeql.git
synced 2026-04-03 06:08:17 +02:00
8 lines
256 B
Plaintext
8 lines
256 B
Plaintext
import javascript
|
|
import semmle.javascript.dataflow.InferredTypes
|
|
|
|
/** Holds if `node` may evaluate to `value` */
|
|
predicate mayHaveStringValue(DataFlow::Node node, string value) { node.mayHaveStringValue(value) }
|
|
|
|
import codeql.regex.HostnameRegexp::Utils
|