@@ -389,7 +389,7 @@ module StepRelationTransformations {
389389 /**
390390 * A module to separate import-time from run-time.
391391 *
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.
393393 * Consider a read from a global variable `x = foo`. At import time there should be a local flow step from `foo` to `x`,
394394 * while at runtime there should be a jump step from the module variable corresponding to `foo` to `x`.
395395 *
@@ -404,7 +404,7 @@ module StepRelationTransformations {
404404 * with the heuristic that global variables act according to import time rules at top-level program points and according
405405 * to runtime rules everywhere else. This will forego some import time local flow but otherwise be consistent.
406406 */
407- module Separate < stepSig / 2 rawStep> {
407+ module PhaseDependentFlow < stepSig / 2 rawStep> {
408408 /**
409409 * Holds if `node` is found at the top level of a module.
410410 */
@@ -476,7 +476,7 @@ predicate simpleLocalFlowStep(Node nodeFrom, Node nodeTo) {
476476 * or at runtime when callables in the module are called.
477477 */
478478predicate 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 )
480480}
481481
482482private predicate summaryLocalStep ( Node nodeFrom , Node nodeTo ) {
@@ -485,7 +485,7 @@ private predicate summaryLocalStep(Node nodeFrom, Node nodeTo) {
485485}
486486
487487predicate 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 )
489489}
490490
491491/** `ModuleVariable`s are accessed via jump steps at runtime. */
0 commit comments