about summary refs log tree commit diff stats
path: root/miasm/analysis/data_flow.py
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2024-03-28 15:31:07 +0100
committerGitHub <noreply@github.com>2024-03-28 15:31:07 +0100
commit1ba37c39b1fa70651a1c7748c5829656cd3e6dea (patch)
treee74b76e29d6618228b67112543943215f0eb011d /miasm/analysis/data_flow.py
parent319229f8675fb3d84655b1701a31eb9064560d3c (diff)
parent46a201ecd64b478fc947d8b1b2e830b767bb66eb (diff)
downloadfocaccia-miasm-1ba37c39b1fa70651a1c7748c5829656cd3e6dea.tar.gz
focaccia-miasm-1ba37c39b1fa70651a1c7748c5829656cd3e6dea.zip
Merge pull request #1474 from DimitriPapadopoulos/codespell
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)