@@ -389,7 +389,7 @@ module StepRelationTransformations {
389
389
/**
390
390
* A module to separate import-time from run-time.
391
391
*
392
- * We really have two local flow relations, on for module initialisation time (or _import time_) and one for runtime.
392
+ * We really have two local flow relations, one for module initialisation time (or _import time_) and one for runtime.
393
393
* Consider a read from a global variable `x = foo`. At import time there should be a local flow step from `foo` to `x`,
394
394
* while at runtime there should be a jump step from the module variable corresponding to `foo` to `x`.
395
395
*
@@ -404,7 +404,7 @@ module StepRelationTransformations {
404
404
* with the heuristic that global variables act according to import time rules at top-level program points and according
405
405
* to runtime rules everywhere else. This will forego some import time local flow but otherwise be consistent.
406
406
*/
407
- module Separate < stepSig / 2 rawStep> {
407
+ module PhaseDependentFlow < stepSig / 2 rawStep> {
408
408
/**
409
409
* Holds if `node` is found at the top level of a module.
410
410
*/
@@ -476,7 +476,7 @@ predicate simpleLocalFlowStep(Node nodeFrom, Node nodeTo) {
476
476
* or at runtime when callables in the module are called.
477
477
*/
478
478
predicate simpleLocalFlowStepForTypetracking ( Node nodeFrom , Node nodeTo ) {
479
- IncludePostUpdateFlow< Separate < EssaFlow:: essaFlowStep / 2 > :: step / 2 > :: step ( nodeFrom , nodeTo )
479
+ IncludePostUpdateFlow< PhaseDependentFlow < EssaFlow:: essaFlowStep / 2 > :: step / 2 > :: step ( nodeFrom , nodeTo )
480
480
}
481
481
482
482
private predicate summaryLocalStep ( Node nodeFrom , Node nodeTo ) {
@@ -485,7 +485,7 @@ private predicate summaryLocalStep(Node nodeFrom, Node nodeTo) {
485
485
}
486
486
487
487
predicate summaryFlowSteps ( Node nodeFrom , Node nodeTo ) {
488
- IncludePostUpdateFlow< Separate < summaryLocalStep / 2 > :: step / 2 > :: step ( nodeFrom , nodeTo )
488
+ IncludePostUpdateFlow< PhaseDependentFlow < summaryLocalStep / 2 > :: step / 2 > :: step ( nodeFrom , nodeTo )
489
489
}
490
490
491
491
/** `ModuleVariable`s are accessed via jump steps at runtime. */
0 commit comments