diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2010-04-18 00:31:49 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2010-04-18 00:31:49 (GMT) |
commit | ef29fbc801e23f547b9ee7666b713bcf32d7e787 (patch) | |
tree | fb7466a56e2246c53a51d0475c1b5fc70ef3b8f9 /src/format/elf | |
parent | 49468379e912806400c5874f8e359cb934516228 (diff) |
Improved the Itanium demangler.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@152 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format/elf')
-rw-r--r-- | src/format/elf/helper_x86.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/format/elf/helper_x86.c b/src/format/elf/helper_x86.c index 862b112..62464d3 100644 --- a/src/format/elf/helper_x86.c +++ b/src/format/elf/helper_x86.c @@ -109,7 +109,7 @@ bool load_elf_x86_relocated_symbols(GElfFormat *format, const elf_shdr *relxxx, name = get_elf_symbol_name(format, dynsym, dynstr, index); - printf("got a jump ! >> %d - %s\n", index, name); + //printf("got a jump ! >> %d - %s\n", index, name); if (name == NULL) @@ -295,7 +295,7 @@ void translate_exe_elf_relocations(GElfFormat *format, GArchInstruction **instru printf("++ routine :: %s\n", g_binary_symbol_to_string(symbols[j])); fflush(NULL); - routine = try_to_demangle_routine(get_demangler_by_type(DGT_ITANIUM), "_ZN1N1TIiiE2mfES0_IddE"); + //routine = try_to_demangle_routine(get_demangler_by_type(DGT_ITANIUM), "_ZN1N1TIiiE2mfES0_IddE"); routine = try_to_demangle_routine(get_demangler_by_type(DGT_ITANIUM), g_binary_symbol_to_string(symbols[j])); if (routine == NULL) @@ -418,16 +418,16 @@ 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 = try_to_demangle_routine(get_demangler_by_type(DGT_ITANIUM), name); + routine = NULL;//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"); } else printf("++success\n"); |