Simplify redundant sanitizer

This commit is contained in:
Chris Smowton
2022-06-02 15:02:41 +01:00
parent 361b7037c6
commit bfbc1d48b7

View File

@@ -237,10 +237,7 @@ module HardcodedKeys {
)
|
TaintTracking::localTaint(randomValue, index) and
(
this.(DataFlow::ElementReadNode).reads(_, randomValue) or
any(DataFlow::ElementReadNode r).reads(this, index)
)
this.(DataFlow::ElementReadNode).reads(_, index)
)
}
}