about summary refs log tree commit diff stats
path: root/miasm2/jitter/loader/elf.py
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2018-06-22 10:28:38 +0200
committerGitHub <noreply@github.com>2018-06-22 10:28:38 +0200
commit9f040a7013f471ecb96c5f64e5ab3f139d1a09c7 (patch)
treef4f21334788d6c153ce08cead01e614349cdf700 /miasm2/jitter/loader/elf.py
parent1c64ca68ff3ad2985d2c89b4b8a8e13ec282c0e1 (diff)
parent189d72985236b0b35586669e7d9309951ffdccb6 (diff)
downloadmiasm-9f040a7013f471ecb96c5f64e5ab3f139d1a09c7.tar.gz
miasm-9f040a7013f471ecb96c5f64e5ab3f139d1a09c7.zip
Merge branch 'master' into patch-2
Diffstat (limited to 'miasm2/jitter/loader/elf.py')
-rw-r--r--miasm2/jitter/loader/elf.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/miasm2/jitter/loader/elf.py b/miasm2/jitter/loader/elf.py
index deaebd09..01dea647 100644
--- a/miasm2/jitter/loader/elf.py
+++ b/miasm2/jitter/loader/elf.py
@@ -32,7 +32,6 @@ def preload_elf(vm, e, runtime_lib, patch_vm_imp=True):
     # XXX quick hack
     fa = get_import_address_elf(e)
     dyn_funcs = {}
-    # log.debug('imported funcs: %s' % fa)
     for (libname, libfunc), ads in fa.items():
         for ad in ads:
             ad_base_lib = runtime_lib.lib_get_add_base(libname)
@@ -77,7 +76,6 @@ def vm_load_elf(vm, fdata, name="", **kargs):
         # -2: Trick to avoid merging 2 consecutive pages
         i += [(a_addr, b_addr - 2)]
     for a, b in i.intervals:
-        # print hex(a), hex(b)
         vm.add_memory_page(a, PAGE_READ | PAGE_WRITE, "\x00" * (b + 2 - a),
                            repr(name))