about summary refs log tree commit diff stats
path: root/miasm2/jitter/loader
diff options
context:
space:
mode:
Diffstat (limited to 'miasm2/jitter/loader')
-rw-r--r--miasm2/jitter/loader/elf.py2
-rw-r--r--miasm2/jitter/loader/pe.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/miasm2/jitter/loader/elf.py b/miasm2/jitter/loader/elf.py
index d1df8c3f..b94a9309 100644
--- a/miasm2/jitter/loader/elf.py
+++ b/miasm2/jitter/loader/elf.py
@@ -146,7 +146,7 @@ def fill_loc_db_with_symbols(elf, loc_db, base_addr=0):
 
 
 def apply_reloc_x86(elf, vm, section, base_addr, loc_db):
-    """Apply relocation for x86 ELF contained in the secion @section
+    """Apply relocation for x86 ELF contained in the section @section
     @elf: elfesteem's ELF instance
     @vm: VmMngr instance
     @section: elf's section containing relocation to perform
diff --git a/miasm2/jitter/loader/pe.py b/miasm2/jitter/loader/pe.py
index e4cd57ee..176e0065 100644
--- a/miasm2/jitter/loader/pe.py
+++ b/miasm2/jitter/loader/pe.py
@@ -126,7 +126,7 @@ def vm_load_pe(vm, fdata, align_s=True, load_hdr=True, name="", **kargs):
     @load_hdr: (optional) If False, do not load the NThdr in memory
     Return the corresponding PE instance.
 
-    Extra arguments are passed to PE instanciation.
+    Extra arguments are passed to PE instantiation.
     If all sections are aligned, they will be mapped on several different pages
     Otherwise, a big page is created, containing all sections
     """
@@ -167,7 +167,7 @@ def vm_load_pe(vm, fdata, align_s=True, load_hdr=True, name="", **kargs):
                 )
                 section.offset = section.addr
 
-            # Last section alignement
+            # Last section alignment
             last_section = pe.SHList[-1]
             last_section.size = (last_section.size + 0xfff) & 0xfffff000