diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2010-08-01 12:25:05 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2010-08-01 12:25:05 (GMT) |
commit | 8725bd7f911369b04a507040256bf889517b377e (patch) | |
tree | 4c40501c0e5163ba5fb30207631f845ff8899df3 /src/format/elf | |
parent | 290f48b2c2008a3479cd1585eb04b89c5744f034 (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.c | 10 |
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"); |