diff options
Diffstat (limited to 'example/expression')
| -rw-r--r-- | example/expression/access_c.py | 2 | ||||
| -rw-r--r-- | example/expression/basic_op.py | 2 | ||||
| -rw-r--r-- | example/expression/export_llvm.py | 4 | ||||
| -rw-r--r-- | example/expression/expr_c.py | 2 |
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]; |