diff options
Diffstat (limited to 'src/analysis')
-rw-r--r-- | src/analysis/binary.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/analysis/binary.c b/src/analysis/binary.c index e875679..0f7b096 100644 --- a/src/analysis/binary.c +++ b/src/analysis/binary.c @@ -1647,7 +1647,7 @@ static bool g_loaded_binary_analyze(GLoadedBinary *binary, bool connect, bool ca bool result; /* Bilan à retourner */ GBinFormat *format; /* Format lié au binaire */ const char *arch; /* Architecture d'exécution */ - const char *desc; /* Description humaine associée*/ + char *desc; /* Description humaine associée*/ bool has_virt; /* Présence de virtuel ? */ GProcContext *context; /* Contexte de suivi dédié */ GWidthTracker *tracker; /* Gestionnaire de largeur */ @@ -1690,6 +1690,8 @@ static bool g_loaded_binary_analyze(GLoadedBinary *binary, bool connect, bool ca log_variadic_message(LMT_INFO, _("Detected architecture: %s"), desc); + free(desc); + g_signal_connect(binary->proc, "changed", G_CALLBACK(on_binary_processor_changed), binary); has_virt = g_arch_processor_has_virtual_space(binary->proc); |