mirror of
https://github.com/github/codeql.git
synced 2026-05-01 03:35:13 +02:00
JS: Put in same stage as RemoteFlowSource
This commit is contained in:
@@ -312,6 +312,10 @@ module TaintTracking {
|
||||
*/
|
||||
cached
|
||||
private module Cached {
|
||||
cached predicate forceStage() {
|
||||
Stages::Taint::ref()
|
||||
}
|
||||
|
||||
/**
|
||||
* Holds if `pred` → `succ` should be considered a taint-propagating
|
||||
* data flow edge, which doesn't fit into a more specific category.
|
||||
|
||||
@@ -243,7 +243,7 @@ module Stages {
|
||||
predicate backref() {
|
||||
1 = 1
|
||||
or
|
||||
any(TaintTracking::AdditionalTaintStep step).step(_, _)
|
||||
TaintTracking::heapStep(_, _)
|
||||
or
|
||||
exists(RemoteFlowSource r)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user