about summary refs log tree commit diff stats
path: root/miasm/analysis/data_flow.py
diff options
context:
space:
mode:
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2024-03-18 09:08:21 +0100
committerDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2024-03-18 10:10:24 +0100
commit46a201ecd64b478fc947d8b1b2e830b767bb66eb (patch)
tree99818d355ee172717fc4322e3c0c7a7ae112979c /miasm/analysis/data_flow.py
parent2b1273e097495cbce6df53b0e5d9f03692df82b0 (diff)
downloadfocaccia-miasm-46a201ecd64b478fc947d8b1b2e830b767bb66eb.tar.gz
focaccia-miasm-46a201ecd64b478fc947d8b1b2e830b767bb66eb.zip
Fix typos found by codespell
Diffstat (limited to 'miasm/analysis/data_flow.py')
-rw-r--r--miasm/analysis/data_flow.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/miasm/analysis/data_flow.py b/miasm/analysis/data_flow.py
index 06453264..23d0b3dd 100644
--- a/miasm/analysis/data_flow.py
+++ b/miasm/analysis/data_flow.py
@@ -1910,7 +1910,7 @@ class State(object):
 
     def may_interfer(self, dsts, src):
         """
-        Return True is @src may interfer with expressions in @dsts
+        Return True if @src may interfere with expressions in @dsts
         @dsts: Set of Expressions
         @src: expression to test
         """
@@ -2085,7 +2085,7 @@ class State(object):
         to_del = set()
         for node in list(classes.nodes()):
             if self.may_interfer(dsts, node):
-                # Interfer with known equivalence class
+                # Interfere with known equivalence class
                 self.equivalence_classes.del_element(node)
                 if node.is_id() or node.is_mem():
                     self.undefined.add(node)
@@ -2137,7 +2137,7 @@ class State(object):
         undefined = set(node for node in self.undefined if node.is_id() or node.is_mem())
         undefined.update(set(node for node in other.undefined if node.is_id() or node.is_mem()))
         # Should we compute interference between srcs and undefined ?
-        # Nop => should already interfer in other state
+        # Nop => should already interfere in other state
         components1 = classes1.get_classes()
         components2 = classes2.get_classes()
 
@@ -2173,7 +2173,7 @@ class State(object):
                     continue
                 if common:
                     # Intersection contains multiple nodes
-                    # Here, common nodes don't interfer with any undefined
+                    # Here, common nodes don't interfere with any undefined
                     nodes_ok.update(common)
                     out.append(common)
                 diff = component1.difference(common)