diff options
Diffstat (limited to 'src/format/exe_format.c')
-rw-r--r-- | src/format/exe_format.c | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/src/format/exe_format.c b/src/format/exe_format.c index aeeaea3..5ddb934 100644 --- a/src/format/exe_format.c +++ b/src/format/exe_format.c @@ -360,7 +360,25 @@ const uint8_t *get_exe_content(const exe_format *format, off_t *length) FormatTargetMachine get_exe_target_machine(const exe_format *format) { - return format->get_target_machine(format); + FormatTargetMachine result; /* Type à retourner */ + + result = format->get_target_machine(format); + + switch (result) + { + case FTM_JVM: + log_simple_message(LMT_INFO, _("Detected architecture: Java Virtual Machine")); + break; + case FTM_MIPS: + log_simple_message(LMT_INFO, _("Detected architecture: Microprocessor without Interlocked Pipeline Stages")); + break; + case FTM_386: + log_simple_message(LMT_INFO, _("Detected architecture: X386")); + break; + + } + + return result; } |