about summary refs log tree commit diff stats
path: root/miasm2/jitter/loader/elf.py
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2018-06-21 17:33:47 +0200
committerAjax <commial@gmail.com>2018-06-21 17:33:47 +0200
commitb8d5b255bad4b03c57356c9af474e6d8a12105db (patch)
tree1fdea855e3bd266343e4d330af5ac686d53fc240 /miasm2/jitter/loader/elf.py
parent98a60ebb7366cda9774fc0511185602cada1833b (diff)
downloadmiasm-b8d5b255bad4b03c57356c9af474e6d8a12105db.tar.gz
miasm-b8d5b255bad4b03c57356c9af474e6d8a12105db.zip
Code cleaning: remove useless / commented code
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))