summaryrefslogtreecommitdiff
path: root/src/analysis
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis')
-rw-r--r--src/analysis/binary.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/analysis/binary.c b/src/analysis/binary.c
index 8946311..8fc34f2 100644
--- a/src/analysis/binary.c
+++ b/src/analysis/binary.c
@@ -1430,8 +1430,8 @@ static bool g_loaded_binary_analyze(GLoadedBinary *binary, wgroup_id_t gid, GtkS
{
bool result; /* Bilan à retourner */
GBinFormat *format; /* Format lié au binaire */
- const char *arch; /* Architecture d'exécution */
const char *desc; /* Description humaine associée*/
+ const char *arch; /* Architecture d'exécution */
bool has_virt; /* Présence de virtuel ? */
GProcContext *context; /* Contexte de suivi dédié */
GWidthTracker *tracker; /* Gestionnaire de largeur */
@@ -1440,6 +1440,13 @@ static bool g_loaded_binary_analyze(GLoadedBinary *binary, wgroup_id_t gid, GtkS
format = G_BIN_FORMAT(binary->format);
+ desc = g_binary_format_get_description(format);
+
+ if (desc == NULL)
+ log_simple_message(LMT_WARNING, _("Unnamed format"));
+ else
+ log_variadic_message(LMT_INFO, _("Selected format: %s"), desc);
+
result = g_binary_format_analyze(format, gid, status);
if (!result) goto glba_exit;