mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
move hasDominatingWrite to the TypeTracking stage
This commit is contained in:
@@ -212,6 +212,8 @@ module Stages {
|
||||
any(DataFlow::Node node).hasUnderlyingType(_)
|
||||
or
|
||||
any(DataFlow::Node node).hasUnderlyingType(_, _)
|
||||
or
|
||||
AccessPath::DominatingPaths::hasDominatingWrite(_)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -235,8 +237,6 @@ module Stages {
|
||||
predicate backref() {
|
||||
1 = 1
|
||||
or
|
||||
AccessPath::DominatingPaths::hasDominatingWrite(_)
|
||||
or
|
||||
DataFlow::SharedFlowStep::step(_, _)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user