diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2016-12-12 18:38:53 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2016-12-12 18:38:53 (GMT) |
commit | 3754a5e3edeea98ce426b65772708ae91b291c1f (patch) | |
tree | e292aa254f59e61f6f9672b826f08be6f428ffdd /src/arch/dalvik/context.c | |
parent | dcc0438ff24efd5958b8d46940eb395ff2b7ed77 (diff) |
Removed most of the code related to non-working decompilation.
Diffstat (limited to 'src/arch/dalvik/context.c')
-rw-r--r-- | src/arch/dalvik/context.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/arch/dalvik/context.c b/src/arch/dalvik/context.c index b293d08..3b79ffa 100644 --- a/src/arch/dalvik/context.c +++ b/src/arch/dalvik/context.c @@ -34,8 +34,6 @@ #include "../raw.h" #include "../../analysis/contents/restricted.h" #include "../../common/sort.h" -#include "../../decomp/context-int.h" -#include "../../decomp/expr/pseudo.h" #include "../../format/dex/dex-int.h" @@ -89,6 +87,7 @@ static void g_dalvik_context_finalize(GDalvikContext *); /* ------------------------- CONTEXTE POUR LA DECOMPILATION ------------------------- */ +#if 0 /* Définition d'un contexte pour décompilation Dalkvik (instance) */ struct _GDalvikDContext { @@ -130,6 +129,7 @@ static void g_dalvik_context_spread_allocated_shared_reg(GDalvikDContext *, GDal /* Convertit un registre machine en un pseudo-registre. */ static GDecInstruction *g_dalvik_dcontext_convert_register(GDalvikDContext *, GDalvikRegisterOperand *, bool, vmpa_t); +#endif @@ -423,6 +423,7 @@ GArchInstruction *g_dalvik_context_get_raw_data(GDalvikContext *ctx, const GBinC /* ---------------------------------------------------------------------------------- */ +#if 0 /* Indique le type définit par la GLib pour le contexte de décompilation Dalkvik. */ G_DEFINE_TYPE(GDalvikDContext, g_dalvik_dcontext, G_TYPE_DEC_CONTEXT); @@ -739,3 +740,4 @@ static GDecInstruction *g_dalvik_dcontext_convert_register(GDalvikDContext *ctx, return result; } +#endif |