diff options
Diffstat (limited to 'src/format/mangling')
-rw-r--r-- | src/format/mangling/Makefile.am | 11 | ||||
-rw-r--r-- | src/format/mangling/demangler.c | 7 | ||||
-rw-r--r-- | src/format/mangling/demangler.h | 2 |
3 files changed, 11 insertions, 9 deletions
diff --git a/src/format/mangling/Makefile.am b/src/format/mangling/Makefile.am index 6298743..9774b73 100644 --- a/src/format/mangling/Makefile.am +++ b/src/format/mangling/Makefile.am @@ -1,5 +1,6 @@ -BUILT_SOURCES = itanium_gram.h libjavamangling_la-java_gram.h +#BUILT_SOURCES = itanium_gram.h libjavamangling_la-java_gram.h +BUILT_SOURCES = libjavamangling_la-java_gram.h AM_YFLAGS = -d @@ -8,10 +9,10 @@ noinst_LTLIBRARIES = libjavamangling.la libformatmangling.la libformatmangling_la_SOURCES = \ context-int.h \ context.h context.c \ - demangler.h demangler.c \ - itanium.h \ - itanium_gram.y \ - itanium_tok.l + demangler.h demangler.c +#itanium.h \ +#itanium_gram.y \ +#itanium_tok.l libformatmangling_la_LDFLAGS = diff --git a/src/format/mangling/demangler.c b/src/format/mangling/demangler.c index 52dad54..bdcdf15 100644 --- a/src/format/mangling/demangler.c +++ b/src/format/mangling/demangler.c @@ -28,7 +28,7 @@ #include <string.h> -#include "itanium.h" +//#include "itanium.h" #include "java.h" @@ -60,13 +60,14 @@ typedef struct _demangling_properties /* Liste des décodeurs */ static demangling_properties demanglers[DGT_COUNT] = { + /* [DGT_ITANIUM] = { .can_demangle = (can_be_demangled_fc)can_be_itanium_demangled, .create_context = (create_context_fc)g_itanium_dcontext_new, .demangle_routine = (demangle_fc)demangle_itanium_routine, .demangle_type = (demangle_fc)NULL }, - + */ [DGT_JAVA] = { .can_demangle = (can_be_demangled_fc)NULL, .create_context = (create_context_fc)g_java_dcontext_new, @@ -239,7 +240,7 @@ GDataType *demangle_type(DemanglerType type, const char *desc) * Remarques : - * * * ******************************************************************************/ -#ifdef DEBUG +#if 0 void test_itanium_demangling(void) { GBinRoutine *routine; diff --git a/src/format/mangling/demangler.h b/src/format/mangling/demangler.h index 8b1c160..0b83cc1 100644 --- a/src/format/mangling/demangler.h +++ b/src/format/mangling/demangler.h @@ -32,7 +32,7 @@ /* Identifiant des décodeurs existants */ typedef enum _DemanglerType { - DGT_ITANIUM, /* Gnu V3 */ + //DGT_ITANIUM, /* Gnu V3 */ DGT_JAVA, /* Java / DEX */ DGT_COUNT |