summaryrefslogtreecommitdiff
path: root/src/analysis
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-04-25 20:44:37 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-04-25 20:44:37 (GMT)
commit2a1dd967d3b4e06f504431f9d3d613992095b2c3 (patch)
tree869181e766ff429fcfdd61f0f7a8b8ef487f768c /src/analysis
parent62ea3df536faae7e1706bbbc2c19cf43c4dae213 (diff)
Removed some debug messages.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@518 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/analysis')
-rw-r--r--src/analysis/disass/area.c26
-rw-r--r--src/analysis/disass/output.c11
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;