summaryrefslogtreecommitdiff
path: root/src/arch/arm
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-12-12 18:38:53 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-12-12 18:38:53 (GMT)
commit3754a5e3edeea98ce426b65772708ae91b291c1f (patch)
treee292aa254f59e61f6f9672b826f08be6f428ffdd /src/arch/arm
parentdcc0438ff24efd5958b8d46940eb395ff2b7ed77 (diff)
Removed most of the code related to non-working decompilation.
Diffstat (limited to 'src/arch/arm')
-rw-r--r--src/arch/arm/context.c7
-rw-r--r--src/arch/arm/context.h3
2 files changed, 6 insertions, 4 deletions
diff --git a/src/arch/arm/context.c b/src/arch/arm/context.c
index b952027..e72e6df 100644
--- a/src/arch/arm/context.c
+++ b/src/arch/arm/context.c
@@ -30,7 +30,6 @@
#include "context-int.h"
-#include "../../decomp/context-int.h"
@@ -56,7 +55,7 @@ static size_t find_disass_arm_area(disass_arm_area *, virt_t, size_t, size_t);
/* ------------------------- CONTEXTE POUR LA DECOMPILATION ------------------------- */
-
+#if 0
/* Définition d'un contexte pour décompilation ARM (instance) */
struct _GArmDContext
{
@@ -89,6 +88,7 @@ static void g_arm_dcontext_dispose(GArmDContext *);
/* Procède à la libération totale de la mémoire. */
static void g_arm_dcontext_finalize(GArmDContext *);
+#endif
@@ -338,7 +338,7 @@ unsigned int _g_arm_context_find_encoding(GArmContext *ctx, virt_t addr)
/* CONTEXTE POUR LA DECOMPILATION */
/* ---------------------------------------------------------------------------------- */
-
+#if 0
/* Indique le type définit par la GLib pour le contexte de décompilation ARM. */
G_DEFINE_TYPE(GArmDContext, g_arm_dcontext, G_TYPE_DEC_CONTEXT);
@@ -444,3 +444,4 @@ GArmDContext *g_arm_dcontext_new(void)
return result;
}
+#endif
diff --git a/src/arch/arm/context.h b/src/arch/arm/context.h
index 304b5e0..ccc2d88 100644
--- a/src/arch/arm/context.h
+++ b/src/arch/arm/context.h
@@ -57,7 +57,7 @@ GArmContext *g_arm_context_new(void);
/* ------------------------- CONTEXTE POUR LA DECOMPILATION ------------------------- */
-
+#if 0
#define G_TYPE_ARM_DCONTEXT g_arm_dcontext_get_type()
#define G_ARM_DCONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), g_arm_dcontext_get_type(), GArmDContext))
#define G_IS_ARM_DCONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), g_arm_dcontext_get_type()))
@@ -78,6 +78,7 @@ GType g_arm_dcontext_get_type(void);
/* Crée un contexte pour la décompilation ARM. */
GArmDContext *g_arm_dcontext_new(void);
+#endif