diff options
Diffstat (limited to 'src/analysis')
-rw-r--r-- | src/analysis/disass/area.c | 26 | ||||
-rw-r--r-- | src/analysis/disass/output.c | 11 |
2 files changed, 0 insertions, 37 deletions
diff --git a/src/analysis/disass/area.c b/src/analysis/disass/area.c index 3a23993..bc19224 100644 --- a/src/analysis/disass/area.c +++ b/src/analysis/disass/area.c @@ -818,39 +818,13 @@ static void load_data_from_mem_area(mem_area *area, mem_area *list, size_t count void fill_mem_area(mem_area **list, size_t *count, size_t *index, const GLoadedBinary *binary, GProcContext *ctx, status_blob_info *info) { mem_area *area; /* Zone de désassemblage */ - - phys_t len; /* Taille de la zone à remplir */ phys_t i; /* Boucle de parcours */ vmpa2t start; /* Adresse de départ de combles*/ - bool refresh; /* Besoin de rafraîchissement */ - - size_t k; - - - for (k = 0; k < *count; k++) - { - printf(" (filled) AREA %zu :: 0x%08x + %u\n", - k, - (unsigned int)get_phy_addr(get_mrange_addr(&(*list)[k].range)), - (unsigned int)get_mrange_length(&(*list)[k].range)); - - } - - area = (*list) + *index; - - - printf(" === FILLING (%zu) | 0x%08x // 0x%08x <-> 0x%08x...\n", *index, - (unsigned int)get_phy_addr(get_mrange_addr(&area->range)), - (unsigned int)get_virt_addr(get_mrange_addr(&area->range)), - (unsigned int)(get_virt_addr(get_mrange_addr(&area->range)) + get_mrange_length(&area->range))); - - - /* Les symboles se doivent d'être indépendants ! */ if (area->has_sym) return; diff --git a/src/analysis/disass/output.c b/src/analysis/disass/output.c index edd6843..f2c49bb 100644 --- a/src/analysis/disass/output.c +++ b/src/analysis/disass/output.c @@ -183,17 +183,6 @@ void print_disassembled_instructions(GCodeBuffer *buffer, const GExeFormat *form iaddr = get_mrange_addr(g_arch_instruction_get_range(iter)); saddr = get_mrange_addr(g_binary_symbol_get_range(symbols[sym_index])); - - printf("OUTPUT [%zu] :: (instr) 0x%08x - 0x%08x :: (sym) 0x%08x - 0x%08x '%s' (cmp=%d)\n", - sym_index, - (unsigned int)get_phy_addr(iaddr), - (unsigned int)get_virt_addr(iaddr), - (unsigned int)get_phy_addr(saddr), - (unsigned int)get_virt_addr(saddr), - g_binary_symbol_to_string(symbols[sym_index]), - cmp_vmpa(iaddr, saddr)); - - /* On écarte les symboles qu'on ne sait pas réintroduire */ for (compared = cmp_vmpa(iaddr, saddr); compared > 0; |