run the non-us patch with "modelled/modeled"

This commit is contained in:
Erik Krogh Kristensen
2021-12-20 17:47:15 +01:00
parent 4c1089fcf1
commit 8019b52838
16 changed files with 27 additions and 27 deletions

View File

@@ -18,7 +18,7 @@ module Ssa {
/**
* Gets the control flow node of this SSA definition, if any. Phi nodes are
* examples of SSA definitions without a control flow node, as they are
* modelled at index `-1` in the relevant basic block.
* modeled at index `-1` in the relevant basic block.
*/
final CfgNode getControlFlowNode() {
exists(BasicBlock bb, int i | this.definesAt(_, bb, i) | result = bb.getNode(i))

View File

@@ -61,7 +61,7 @@ private module RegexpMatching {
/**
* Gets a state the regular expression `reg` can be in after matching the `i`th char in `str`.
* The regular expression is modelled as a non-determistic finite automaton,
* The regular expression is modeled as a non-determistic finite automaton,
* the regular expression can therefore be in multiple states after matching a character.
*
* It's a forward search to all possible states, and there is thus no guarantee that the state is on a path to an accepting state.