diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-11-11 23:05:36 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-11-11 23:05:36 (GMT) |
commit | 355a7140932b77d351bc6ddd965608b0011af855 (patch) | |
tree | f297872a2a33e0617d5fad0c85d00871f1482b06 /src/analysis/disass | |
parent | 0727204e36e919f06e80181482981c3f19669d76 (diff) |
Fixed most of the warnings about use of uninitialized data.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@607 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/analysis/disass')
-rw-r--r-- | src/analysis/disass/area.c | 3 | ||||
-rw-r--r-- | src/analysis/disass/disassembler.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/analysis/disass/area.c b/src/analysis/disass/area.c index de2c742..1d841be 100644 --- a/src/analysis/disass/area.c +++ b/src/analysis/disass/area.c @@ -1188,6 +1188,9 @@ mem_area *compute_memory_areas(GExeFormat *format, phys_t bin_length, size_t *co { /* Sélection et écartement des symboles */ + range = NULL; /* Pour GCC */ + length = 0; /* Pour GCC */ + for (; j < sym_count; j++) { type = g_binary_symbol_get_target_type(symbols[j]); diff --git a/src/analysis/disass/disassembler.c b/src/analysis/disass/disassembler.c index 2f9d293..ce49aca 100644 --- a/src/analysis/disass/disassembler.c +++ b/src/analysis/disass/disassembler.c @@ -328,13 +328,13 @@ static void g_delayed_disassembly_process(GDelayedDisassembly *disass, GtkExtSta - //id = gtk_extended_status_bar_push(statusbar, _("Finding remaining limits..."), true); + id = gtk_extended_status_bar_push(statusbar, _("Finding remaining limits..."), true); //qsort(routines, routines_count, sizeof(GBinRoutine *), (__compar_fn_t)g_binary_routine_rcompare); limit_all_routines(disass->format, proc, routines, routines_count, statusbar, id); - //gtk_extended_status_bar_remove(statusbar, id); + gtk_extended_status_bar_remove(statusbar, id); //run_plugins_on_binary(disass->binary, PGA_BINARY_BOUNDED, true); |