summaryrefslogtreecommitdiff
path: root/src/format/mangling
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2013-08-31 22:50:48 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2013-08-31 22:50:48 (GMT)
commit0820b68115258d7260b69a5bfb179368aa265772 (patch)
treee5fa5ec8ee1463e7467a2669105345105b563eff /src/format/mangling
parented4bb73e5d68c1f81b8e0c3210aa221ec6f2675b (diff)
Removed some warnings by upgrading code to GLib 2.32.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@359 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format/mangling')
-rw-r--r--src/format/mangling/Makefile.am11
-rw-r--r--src/format/mangling/demangler.c7
-rw-r--r--src/format/mangling/demangler.h2
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