mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
JS: HeapTaintStep
This commit is contained in:
@@ -255,13 +255,10 @@ module TaintTracking {
|
||||
* A taint propagating data flow edge through object or array elements and
|
||||
* promises.
|
||||
*/
|
||||
private class HeapTaintStep extends AdditionalTaintStep {
|
||||
HeapTaintStep() { heapStep(_, this) }
|
||||
|
||||
private class HeapTaintStep extends SharedTaintStep {
|
||||
override predicate step(DataFlow::Node pred, DataFlow::Node succ) {
|
||||
Stages::Taint::ref() and
|
||||
heapStep(pred, succ) and
|
||||
succ = this
|
||||
heapStep(pred, succ)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user