summaryrefslogtreecommitdiff
path: root/src/analysis
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis')
-rw-r--r--src/analysis/routine.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/analysis/routine.c b/src/analysis/routine.c
index f227cba..1d03ad7 100644
--- a/src/analysis/routine.c
+++ b/src/analysis/routine.c
@@ -846,14 +846,19 @@ char *g_binary_routine_to_string(const GBinRoutine *routine, bool include)
}
- name = g_binary_routine_get_label(routine);
-
- if (name != NULL)
+ if (routine->full_name != NULL)
{
+ name = g_data_type_to_string(routine->full_name, true);
+
result = stradd(result, name);
+
free(name);
+
}
+ else if (routine->name != NULL)
+ result = stradd(result, routine->name);
+
/* Liste des arguments */
result = stradd(result, "(");