summaryrefslogtreecommitdiff
path: root/src/analysis/disass
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/disass')
-rw-r--r--src/analysis/disass/area.c8
-rw-r--r--src/analysis/disass/disassembler.c4
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
/* ---------------------------------------------------------------------------------- */