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/jitter/loader/pe.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/jitter/loader/pe.py')
| -rw-r--r-- | miasm2/jitter/loader/pe.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |