qtil
advanced-security/qtil-javascript 0.0.3
Search

Predicate TaintTracking::isTypeofGuard

Holds if test is a guard that checks if operand is typeof tag.

See TypeOfUndefinedSanitizer for example usage.

Import path

import semmle.javascript.dataflow.TaintTracking
predicate isTypeofGuard(EqualityTest test, Expr operand, TypeofTag tag)