summaryrefslogtreecommitdiff
path: root/src/analysis
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-01-21 18:49:45 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-01-21 18:49:45 (GMT)
commite10081897750e74dfd01266606870aab3638cfbf (patch)
treeb9fbb90301a9ca443af82e3f9dd5e58f05dfbbe3 /src/analysis
parent7c04cf1a2dcc9e04ce8f280f399d6904053e89d9 (diff)
Provided a way to register new available processors from Python.
Diffstat (limited to 'src/analysis')
-rw-r--r--src/analysis/binary.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/analysis/binary.c b/src/analysis/binary.c
index 8964973..7b075fd 100644
--- a/src/analysis/binary.c
+++ b/src/analysis/binary.c
@@ -1723,7 +1723,7 @@ static bool g_loaded_binary_analyze(GLoadedBinary *binary, wgroup_id_t gid, GtkS
/* Architecture visée */
arch = g_exe_format_get_target_machine(binary->format);
- desc = get_arch_processor_name(arch);
+ desc = get_arch_processor_description(arch);
if (desc == NULL)
{
@@ -1734,7 +1734,7 @@ static bool g_loaded_binary_analyze(GLoadedBinary *binary, wgroup_id_t gid, GtkS
else
log_variadic_message(LMT_INFO, _("Detected architecture: %s"), desc);
- binary->proc = get_arch_processor_for_type(arch);
+ binary->proc = get_arch_processor_for_name(arch);
if (binary->proc == NULL)
{