about summary refs log tree commit diff stats
path: root/miasm2/arch/arm/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/arm/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 'miasm2/arch/arm/arch.py')
-rw-r--r--miasm2/arch/arm/arch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/arch/arm/arch.py b/miasm2/arch/arm/arch.py
index 5fbaa946..d4b7d05a 100644
--- a/miasm2/arch/arm/arch.py
+++ b/miasm2/arch/arm/arch.py
@@ -608,7 +608,7 @@ class mn_arm(cls_mn):
             return 0
         o = 0
         if n > bs.getlen() * 8:
-            raise ValueError('not enought bits %r %r' % (n, len(bs.bin) * 8))
+            raise ValueError('not enough bits %r %r' % (n, len(bs.bin) * 8))
         while n:
             offset = start / 8
             n_offset = cls.endian_offset(attrib, offset)
@@ -709,7 +709,7 @@ class mn_armt(cls_mn):
             return 0
         o = 0
         if n > bs.getlen() * 8:
-            raise ValueError('not enought bits %r %r' % (n, len(bs.bin) * 8))
+            raise ValueError('not enough bits %r %r' % (n, len(bs.bin) * 8))
         while n:
             offset = start / 8
             n_offset = cls.endian_offset(attrib, offset)