diff options
| author | serpilliere <serpilliere@users.noreply.github.com> | 2018-06-21 18:24:32 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-21 18:24:32 +0200 |
| commit | 81a54b95a1424da691e6bb5a9f015aefda1325d7 (patch) | |
| tree | 9185e2f1ac535c60be3b01cc99ff77ff37c5b885 /miasm2/jitter/loader/elf.py | |
| parent | 02bd29be2d3fc6fc0429fa9c11ce6902bbd535f0 (diff) | |
| parent | b8d5b255bad4b03c57356c9af474e6d8a12105db (diff) | |
| download | miasm-81a54b95a1424da691e6bb5a9f015aefda1325d7.tar.gz miasm-81a54b95a1424da691e6bb5a9f015aefda1325d7.zip | |
Merge pull request #781 from commial/fix/code-cleaning
Code cleaning: remove useless / commented code
Diffstat (limited to 'miasm2/jitter/loader/elf.py')
| -rw-r--r-- | miasm2/jitter/loader/elf.py | 2 |
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)) |