summaryrefslogtreecommitdiff
path: root/src/format/elf
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2010-08-01 12:25:05 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2010-08-01 12:25:05 (GMT)
commit8725bd7f911369b04a507040256bf889517b377e (patch)
tree4c40501c0e5163ba5fb30207631f845ff8899df3 /src/format/elf
parent290f48b2c2008a3479cd1585eb04b89c5744f034 (diff)
Updated Itanium demangling by using the new contexts.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@177 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
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");