diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2016-09-26 01:08:45 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2016-09-26 01:08:45 (GMT) |
commit | 79f384b20e00977f8450920a8a8983b818d302f8 (patch) | |
tree | 4ccd706eac37677b727b4e68cbc6ff9042358aa7 /src | |
parent | 8df6567b5213fe842e329ad1102c5531d7c509bb (diff) |
Deleted code sorting routines as they are already sorted.
Diffstat (limited to 'src')
-rw-r--r-- | src/analysis/disass/disassembler.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/analysis/disass/disassembler.c b/src/analysis/disass/disassembler.c index 7c16dd1..2cfa6a5 100644 --- a/src/analysis/disass/disassembler.c +++ b/src/analysis/disass/disassembler.c @@ -333,8 +333,6 @@ static void g_delayed_disassembly_process(GDelayedDisassembly *disass, GtkStatus //size_t i; /* Boucle de parcours */ - GBinRoutine **routines; /* Liste des routines trouvées */ - size_t routines_count; /* Nombre de ces routines */ @@ -351,7 +349,6 @@ static void g_delayed_disassembly_process(GDelayedDisassembly *disass, GtkStatus proc = g_loaded_binary_get_processor(disass->binary); - routines = g_binary_format_get_routines(G_BIN_FORMAT(disass->format), &routines_count); /* Première étape */ @@ -411,10 +408,6 @@ static void g_delayed_disassembly_process(GDelayedDisassembly *disass, GtkStatus /* Seconde étape */ - routines = g_binary_format_get_routines(G_BIN_FORMAT(disass->format), &routines_count); - - - //qsort(routines, routines_count, sizeof(GBinRoutine *), (__compar_fn_t)g_binary_routine_rcompare); @@ -520,7 +513,6 @@ static void g_delayed_disassembly_process(GDelayedDisassembly *disass, GtkStatus //id = gtk_extended_status_bar_push(statusbar, _("Printing disassembled code..."), true); - qsort(routines, routines_count, sizeof(GBinRoutine *), (__compar_fn_t)g_binary_routine_compare); proc = g_loaded_binary_get_processor(disass->binary); @@ -537,7 +529,6 @@ static void g_delayed_disassembly_process(GDelayedDisassembly *disass, GtkStatus process_disassembly_event(PGA_DISASSEMBLY_ENDED, disass->binary); - printf("---fin\n"); //gtk_extended_status_bar_remove(statusbar, 0/*id*/); |