summaryrefslogtreecommitdiff
path: root/src/format/elf
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/elf')
-rw-r--r--src/format/elf/helper_x86.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/format/elf/helper_x86.c b/src/format/elf/helper_x86.c
index 62464d3..d74c7dd 100644
--- a/src/format/elf/helper_x86.c
+++ b/src/format/elf/helper_x86.c
@@ -303,6 +303,7 @@ void translate_exe_elf_relocations(GElfFormat *format, GArchInstruction **instru
routine = g_binary_routine_new();
g_binary_routine_set_name(routine, strdup(g_binary_symbol_to_string(symbols[j])));
printf("++failed\n");
+ //exit(0);
}
else printf("++success\n");
@@ -418,16 +419,17 @@ void translate_dyn_elf_relocations(GElfFormat *format, GArchInstruction **instru
/* Routine */
- //printf("++ routine :: %s\n", name);
- //fflush(NULL);
+ printf("++ routine :: %s\n", name);
+ fflush(NULL);
- routine = NULL;//try_to_demangle_routine(get_demangler_by_type(DGT_ITANIUM), name);
+ routine = try_to_demangle_routine(get_demangler_by_type(DGT_ITANIUM), name);
if (routine == NULL)
{
routine = g_binary_routine_new();
g_binary_routine_set_name(routine, strdup(name));
- //printf("++failed\n");
+ printf("++failed\n");
+ //exit(0);
}
else printf("++success\n");