diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-01-04 18:33:12 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-01-04 18:33:12 (GMT) |
commit | 639a993fd7400f95eb09ec69d89f227ef41b2865 (patch) | |
tree | eafdac2dce4c63e95a6d82542968736e9e1231c6 /src/analysis | |
parent | 0f571c20444dbb5d8d8d0fa46a69b31cb89f9583 (diff) |
Disabled lots of debug messages and fixed some symbols related bugs.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@447 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/analysis')
-rw-r--r-- | src/analysis/disass/area.c | 8 | ||||
-rw-r--r-- | src/analysis/disass/disassembler.c | 4 |
2 files changed, 7 insertions, 5 deletions
diff --git a/src/analysis/disass/area.c b/src/analysis/disass/area.c index 0ec4ad4..8c46eb0 100644 --- a/src/analysis/disass/area.c +++ b/src/analysis/disass/area.c @@ -379,7 +379,7 @@ void load_code_from_mem_area(mem_area *area, mem_area *list, size_t count, const copy_vmpa(&pos, get_mrange_addr(&area->range)); advance_vmpa(&pos, diff); - printf(" [%p] CODE start @ %u (len=%u)\n", area, (unsigned int)diff, (unsigned int)alen); + //printf(" [%p] CODE start @ %u (len=%u)\n", area, (unsigned int)diff, (unsigned int)alen); for (i = diff; i < alen; i += diff) { @@ -484,8 +484,10 @@ static void load_data_from_mem_area(mem_area *area, mem_area *list, size_t count copy_vmpa(&pos, get_mrange_addr(&area->range)); advance_vmpa(&pos, diff); + /* printf(" [%p] DATA start @ 0x%08x -> %u (len=%u)\n", area, (unsigned int)get_phy_addr(&pos), (unsigned int)diff, (unsigned int)alen); + */ for (i = diff; i < alen; i += diff) { @@ -577,11 +579,11 @@ static void fill_mem_area(mem_area *area, mem_area *list, size_t count, const GL phys_t i; /* Boucle de parcours */ vmpa2t start; /* Adresse de départ de combles*/ - + /* printf(" === FILLING | 0x%08x (%u)...\n", (unsigned int)get_phy_addr(get_mrange_addr(&area->range)), (unsigned int)get_phy_addr(get_mrange_addr(&area->range))); - + */ /* Les symboles se doivent d'être indépendants ! */ if (area->has_sym) return; diff --git a/src/analysis/disass/disassembler.c b/src/analysis/disass/disassembler.c index 77e64d7..9907a52 100644 --- a/src/analysis/disass/disassembler.c +++ b/src/analysis/disass/disassembler.c @@ -336,7 +336,7 @@ static void g_delayed_disassembly_process(GDelayedDisassembly *disass, GtkExtSta } - +#if 0 /****************************************************************************** * * * Paramètres : disass = analyse à mener. * @@ -462,7 +462,7 @@ static void g_delayed_disassembly_process_old(GDelayedDisassembly *disass, GtkEx run_plugins_on_binary(disass->binary, PGA_BINARY_PRINTED, true); } - +#endif /* ---------------------------------------------------------------------------------- */ |