Skip to content

Commit b4197b0

Browse files
committed
Dataflow: Use (node,state) pair as node type in stage 2+.
1 parent 1166aa6 commit b4197b0

File tree

5 files changed

+363
-512
lines changed

5 files changed

+363
-512
lines changed

shared/dataflow/codeql/dataflow/DataFlow.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,7 @@ module DataFlowMake<LocationSig Location, InputSig<Location> Lang> {
734734

735735
import Stage1::PartialFlow
736736

737-
private module Flow = Impl<C, Stage1::Stage1NoState>;
737+
private module Flow = Impl<C, Stage1::Stage1WithState>;
738738

739739
import Flow
740740
}

shared/dataflow/codeql/dataflow/TaintTracking.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ module TaintFlowMake<
134134

135135
import Stage1::PartialFlow
136136

137-
private module Flow = DataFlowInternal::Impl<C, Stage1::Stage1NoState>;
137+
private module Flow = DataFlowInternal::Impl<C, Stage1::Stage1WithState>;
138138

139139
import Flow
140140
}
@@ -236,7 +236,7 @@ module TaintFlowMake<
236236

237237
import Stage1::PartialFlow
238238

239-
private module Flow = DataFlowInternal::Impl<C, Stage1::Stage1NoState>;
239+
private module Flow = DataFlowInternal::Impl<C, Stage1::Stage1WithState>;
240240

241241
import Flow
242242
}
@@ -274,7 +274,7 @@ module TaintFlowMake<
274274

275275
import Stage1::PartialFlow
276276

277-
private module Flow = DataFlowInternal::Impl<C, Stage1::Stage1NoState>;
277+
private module Flow = DataFlowInternal::Impl<C, Stage1::Stage1WithState>;
278278

279279
import Flow
280280
}

0 commit comments

Comments
 (0)