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 /example/jitter/example_types.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 'example/jitter/example_types.py')
| -rwxr-xr-x | example/jitter/example_types.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/example/jitter/example_types.py b/example/jitter/example_types.py index 7ed964c2..bcf9bf70 100755 --- a/example/jitter/example_types.py +++ b/example/jitter/example_types.py @@ -10,7 +10,7 @@ from miasm2.core.types import MemStruct, Self, Void, Str, Array, Ptr, \ Num, Array, set_allocator from miasm2.os_dep.common import heap -# Instanciate a heap +# Instantiate a heap my_heap = heap() # And set it as the default memory allocator, to avoid manual allocation and # explicit address passing to the MemType subclasses (like MemStruct) @@ -129,7 +129,7 @@ class DataArray(MemStruct): fields = [ ("val1", Num("B")), ("val2", Num("B")), - # Ptr can also be instanciated with a Type instance as an argument, the + # Ptr can also be instantiated with a Type instance as an argument, the # corresponding Memtype will be returned when dereferencing # Here, data_array.array.deref will allow to access an Array ("arrayptr", Ptr("<I", Array(Num("B"), 16))), |