about summary refs log tree commit diff stats
path: root/example/expression
diff options
context:
space:
mode:
authorPierre LALET <pierre.lalet@cea.fr>2018-12-23 19:26:44 +0100
committerPierre LALET <pierre.lalet@cea.fr>2018-12-23 19:26:44 +0100
commit814ccf50314852d12168ad5b8a4a875a86bc6e3d (patch)
treee19e9820bb8355730ae9bd0c706e414e39c895ef /example/expression
parent011e1e209b3d00afe3c8e65000209a568c5eb791 (diff)
downloadmiasm-814ccf50314852d12168ad5b8a4a875a86bc6e3d.tar.gz
miasm-814ccf50314852d12168ad5b8a4a875a86bc6e3d.zip
Fix typos & add codespell
Diffstat (limited to 'example/expression')
-rw-r--r--example/expression/access_c.py2
-rw-r--r--example/expression/basic_op.py2
-rw-r--r--example/expression/export_llvm.py4
-rw-r--r--example/expression/expr_c.py2
4 files changed, 5 insertions, 5 deletions
diff --git a/example/expression/access_c.py b/example/expression/access_c.py
index e8d5e318..b23ba81b 100644
--- a/example/expression/access_c.py
+++ b/example/expression/access_c.py
@@ -114,7 +114,7 @@ class MyCHandler(CHandler):
 
 
 data = open(sys.argv[1]).read()
-# Digest C informations
+# Digest C information
 text = """
 struct human {
         unsigned short age;
diff --git a/example/expression/basic_op.py b/example/expression/basic_op.py
index a9ed00e3..6032f483 100644
--- a/example/expression/basic_op.py
+++ b/example/expression/basic_op.py
@@ -15,7 +15,7 @@ c = ExprOp('+', a, b)
 print c
 # (eax + ebx)
 
-# + automaticaly generates ExprOp('+', a, b)
+# + automatically generates ExprOp('+', a, b)
 c = a + b
 print c
 # (eax + ebx)
diff --git a/example/expression/export_llvm.py b/example/expression/export_llvm.py
index 6f4ed591..a0af66b7 100644
--- a/example/expression/export_llvm.py
+++ b/example/expression/export_llvm.py
@@ -21,7 +21,7 @@ ircfg = ir.new_ircfg_from_asmcfg(asmcfg)
 ircfg.simplify(expr_simp_high_to_explicit)
 ######################################################
 
-# Instanciate a context and the function to fill
+# Instantiate a context and the function to fill
 context = LLVMContext_IRCompilation()
 context.ir_arch = ir
 
@@ -31,7 +31,7 @@ func.init_fc()
 
 # Here, as an example, we arbitrarily represent registers with global
 # variables. Locals allocas are used for the computation during the function,
-# and is finally saved in the aforementionned global variable.
+# and is finally saved in the aforementioned global variable.
 
 # In other words, for each registers:
 # entry:
diff --git a/example/expression/expr_c.py b/example/expression/expr_c.py
index ca92153a..e0825799 100644
--- a/example/expression/expr_c.py
+++ b/example/expression/expr_c.py
@@ -14,7 +14,7 @@ from miasm2.expression.expression import ExprId
 C manipulation example
 """
 
-# Digest C informations
+# Digest C information
 text = """
 struct line {
         char color[20];