summaryrefslogtreecommitdiff
path: root/src/analysis/disass/fetch.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-06-24 20:08:13 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-06-24 20:08:13 (GMT)
commit1c0e64604b6c49c413f1be02b40071820007c774 (patch)
tree81b084264c9f8db9712979ab030ad36d85c2b58d /src/analysis/disass/fetch.c
parent0becef388e9a68ab716583758ade15f8d8ca0cf9 (diff)
Used more threads to disassemble binary areas.
Diffstat (limited to 'src/analysis/disass/fetch.c')
-rw-r--r--src/analysis/disass/fetch.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/analysis/disass/fetch.c b/src/analysis/disass/fetch.c
index fc1c2ab..f179860 100644
--- a/src/analysis/disass/fetch.c
+++ b/src/analysis/disass/fetch.c
@@ -461,21 +461,13 @@ GArchInstruction **disassemble_binary_content(GLoadedBinary *binary, GProcContex
* Troisième phase : on comble les trous laissés.
*/
- gtk_status_stack_update_activity(status, template.id, _("Disassembling the remaining instructions..."));
-
- ensure_all_mem_areas_are_filled(template.areas, template.count, true, template.ctx, status, template.id);
-
- g_work_queue_wait_for_completion(queue, gid);
+ ensure_all_mem_areas_are_filled(gid, status, template.id, template.areas, template.count, template.ctx);
g_work_queue_set_extra_wait_callback(queue, gid, NULL, NULL);
g_object_set_data(G_OBJECT(template.ctx), "remaining_counter", NULL);
- gtk_status_stack_update_activity(status, template.id, _("Filling holes with data..."));
-
- ensure_all_mem_areas_are_filled(template.areas, template.count, false, template.ctx, status, template.id);
-
- g_work_queue_wait_for_completion(queue, gid);
+ ensure_all_mem_areas_are_filled(gid, status, template.id, template.areas, template.count, NULL);
gtk_status_stack_remove_activity(status, template.id);