about summary refs log tree commit diff stats
path: root/miasm2/ir
diff options
context:
space:
mode:
authorFabrice Desclaux <fabrice.desclaux@cea.fr>2019-01-17 07:30:56 +0100
committerFabrice Desclaux <fabrice.desclaux@cea.fr>2019-01-17 08:57:31 +0100
commit5fcbef659dd5d27d2953e8f35ebe004655b3f183 (patch)
tree79093188e4172955d310bff9f2c26998e5aac42f /miasm2/ir
parent04f2665bdc67dc350f469841c748542c70ea9747 (diff)
downloadmiasm-5fcbef659dd5d27d2953e8f35ebe004655b3f183.tar.gz
miasm-5fcbef659dd5d27d2953e8f35ebe004655b3f183.zip
Fix bad english
Diffstat (limited to '')
-rw-r--r--miasm2/ir/ir.py2
-rw-r--r--miasm2/ir/symbexec.py2
-rw-r--r--miasm2/ir/symbexec_types.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/miasm2/ir/ir.py b/miasm2/ir/ir.py
index 72f775fb..dc1d203b 100644
--- a/miasm2/ir/ir.py
+++ b/miasm2/ir/ir.py
@@ -84,7 +84,7 @@ class AssignBlock(object):
     def _set(self, dst, src):
         """
         Special cases:
-        * if dst is an ExprSlice, expand it to affect the full Expression
+        * if dst is an ExprSlice, expand it to assign the full Expression
         * if dst already known, sources are merged
         """
         if dst.size != src.size:
diff --git a/miasm2/ir/symbexec.py b/miasm2/ir/symbexec.py
index a1ffebf5..1347e0e5 100644
--- a/miasm2/ir/symbexec.py
+++ b/miasm2/ir/symbexec.py
@@ -119,7 +119,7 @@ class MemArray(MutableMapping):
 
     The value associated to a given offset is a description of the slice of a
     stored expression. The slice size depends on the configutation of the
-    MemArray. For example, for a slice size of 8 bits, the affectation:
+    MemArray. For example, for a slice size of 8 bits, the assignment:
     - @32[EAX+0x10] = EBX
 
     will store for the base EAX:
diff --git a/miasm2/ir/symbexec_types.py b/miasm2/ir/symbexec_types.py
index 7580d1f8..71e5d6fa 100644
--- a/miasm2/ir/symbexec_types.py
+++ b/miasm2/ir/symbexec_types.py
@@ -95,7 +95,7 @@ class SymbExecCType(SymbolicExecutionEngine):
             elif isinstance(dst, ExprId):
                 pool_out[dst] = frozenset(objcs)
             else:
-                raise ValueError("Unsupported affectation", str(dst))
+                raise ValueError("Unsupported assignment", str(dst))
         return pool_out
 
     def eval_expr(self, expr, eval_cache=None):