We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05d7be8 commit 82cf538Copy full SHA for 82cf538
javascript/ql/src/semmle/javascript/dataflow/TaintTracking.qll
@@ -828,11 +828,11 @@ module TaintTracking {
828
}
829
830
/** A check of the form `type x === "undefined"`, which sanitized `x` in its "then" branch. */
831
- class TypeOfCheck extends AdditionalSanitizerGuardNode, DataFlow::ValueNode {
+ class TypeOfUndefinedSanitizer extends AdditionalSanitizerGuardNode, DataFlow::ValueNode {
832
Expr x;
833
override EqualityTest astNode;
834
835
- TypeOfCheck() {
+ TypeOfUndefinedSanitizer() {
836
exists(StringLiteral str, TypeofExpr typeof | astNode.hasOperands(str, typeof) |
837
str.getValue() = "undefined" and
838
typeof.getOperand() = x
0 commit comments