about summary refs log tree commit diff stats
path: root/miasm2/arch/x86/arch.py
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2018-12-23 23:23:30 +0100
committerGitHub <noreply@github.com>2018-12-23 23:23:30 +0100
commit439eacecd16587bf0df8fd097b8c13677326b9f3 (patch)
treee19e9820bb8355730ae9bd0c706e414e39c895ef /miasm2/arch/x86/arch.py
parent011e1e209b3d00afe3c8e65000209a568c5eb791 (diff)
parent814ccf50314852d12168ad5b8a4a875a86bc6e3d (diff)
downloadmiasm-439eacecd16587bf0df8fd097b8c13677326b9f3.tar.gz
miasm-439eacecd16587bf0df8fd097b8c13677326b9f3.zip
Merge pull request #908 from p-l-/codespell
Fix typos & add codespell
Diffstat (limited to '')
-rw-r--r--miasm2/arch/x86/arch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/arch/x86/arch.py b/miasm2/arch/x86/arch.py
index feafcd44..77744ccd 100644
--- a/miasm2/arch/x86/arch.py
+++ b/miasm2/arch/x86/arch.py
@@ -275,7 +275,7 @@ class x86_arg(m_arg):
             loc_key = loc_db.get_or_create_name_location(value.name)
             return ExprLoc(loc_key, size_hint)
         if isinstance(value, AstOp):
-            # First pass to retreive fixed_size
+            # First pass to retrieve fixed_size
             if value.op == "segm":
                 segm = self.asm_ast_to_expr(value.args[0], loc_db)
                 ptr = self.asm_ast_to_expr(value.args[1], loc_db, None, fixed_size)
@@ -930,7 +930,7 @@ class bs_modname_size(bs_divert):
                 (dct['mode'], dct['opmode'], dct['admode']))
             mode = dct['mode']
             size, opmode, admode = dct['mode'], dct['opmode'], dct['admode']
-            # no mode64 existance in name means no 64bit version of mnemo
+            # no mode64 exinstance in name means no 64bit version of mnemo
             if mode == 64:
                 if mode in self.args['name']:
                     nfields = fields[:]