diff options
| author | Camille Mougey <commial@gmail.com> | 2018-12-23 23:23:30 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-23 23:23:30 +0100 |
| commit | 439eacecd16587bf0df8fd097b8c13677326b9f3 (patch) | |
| tree | e19e9820bb8355730ae9bd0c706e414e39c895ef /miasm2/core/cpu.py | |
| parent | 011e1e209b3d00afe3c8e65000209a568c5eb791 (diff) | |
| parent | 814ccf50314852d12168ad5b8a4a875a86bc6e3d (diff) | |
| download | miasm-439eacecd16587bf0df8fd097b8c13677326b9f3.tar.gz miasm-439eacecd16587bf0df8fd097b8c13677326b9f3.zip | |
Merge pull request #908 from p-l-/codespell
Fix typos & add codespell
Diffstat (limited to 'miasm2/core/cpu.py')
| -rw-r--r-- | miasm2/core/cpu.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/core/cpu.py b/miasm2/core/cpu.py index 813ac47d..c2fbd3cd 100644 --- a/miasm2/core/cpu.py +++ b/miasm2/core/cpu.py @@ -44,7 +44,7 @@ class bitobj: if not n: return 0 if n > len(self.bits) - self.offset: - raise ValueError('not enought bits %r %r' % (n, len(self.bits))) + raise ValueError('not enough bits %r %r' % (n, len(self.bits))) b = self.bits[self.offset:self.offset + n] b = int("".join([str(x) for x in b]), 2) self.offset += n @@ -1063,7 +1063,7 @@ class cls_mn(object): __metaclass__ = metamn args_symb = [] instruction = instruction - # Block's offset alignement + # Block's offset alignment alignment = 1 @classmethod |