mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
rename to DenyListInclusionGuard
This commit is contained in:
@@ -277,10 +277,10 @@ private class IncludesCheck extends TaintTracking::LabeledSanitizerGuardNode, In
|
||||
}
|
||||
|
||||
/**
|
||||
* A sanitizer guard that checks tests whether `x` is included in a list of strings.
|
||||
* A sanitizer guard that checks tests whether `x` is included in a list like `["__proto__"].includes(x)`.
|
||||
*/
|
||||
private class StringListCheck extends TaintTracking::SanitizerGuardNode, InclusionTest {
|
||||
StringListCheck() {
|
||||
private class DenyListInclusionGuard extends TaintTracking::SanitizerGuardNode, InclusionTest {
|
||||
DenyListInclusionGuard() {
|
||||
this.getContainerNode()
|
||||
.getALocalSource()
|
||||
.(DataFlow::ArrayCreationNode)
|
||||
|
||||
Reference in New Issue
Block a user