diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2015-02-09 12:45:36 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2015-02-09 12:45:36 +0100 |
| commit | add2aed8428f8bf1c92ee705222e496fc06cad07 (patch) | |
| tree | 7eb83e571fec4921a6e7b9941a92cc2b6a099545 /miasm2/jitter/loader/pe.py | |
| parent | b85bfedf61056dd4f4b2673e63b6425be8a18360 (diff) | |
| download | miasm-add2aed8428f8bf1c92ee705222e496fc06cad07.tar.gz miasm-add2aed8428f8bf1c92ee705222e496fc06cad07.zip | |
Loader/PE: fix typo
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 96df675c..0b63583d 100644 --- a/miasm2/jitter/loader/pe.py +++ b/miasm2/jitter/loader/pe.py @@ -180,8 +180,8 @@ def vm_load_pe(vm, fdata, align_s=True, load_hdr=True, **kargs): # Copy each sections content in memory for section in pe.SHList: - log.debug('Map 0x%x bytes to 0x%x' % (len(s.data), pe.rva2virt(s.addr))) - vm.set_mem(pe.rva2virt(s.addr), str(s.data)) + log.debug('Map 0x%x bytes to 0x%x' % (len(section.data), pe.rva2virt(section.addr))) + vm.set_mem(pe.rva2virt(section.addr), str(section.data)) return pe |