summaryrefslogtreecommitdiff
path: root/src/format/dex
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/dex')
-rw-r--r--src/format/dex/class.c17
-rw-r--r--src/format/dex/class.h3
-rw-r--r--src/format/dex/method.c3
-rw-r--r--src/format/dex/method.h2
4 files changed, 6 insertions, 19 deletions
diff --git a/src/format/dex/class.c b/src/format/dex/class.c
index c0fde56..26907ed 100644
--- a/src/format/dex/class.c
+++ b/src/format/dex/class.c
@@ -509,7 +509,7 @@ const char *g_dex_class_get_source_file(const GDexClass *class, const GDexFormat
* Remarques : - *
* *
******************************************************************************/
-
+#if 0
void g_dex_class_decompile(const GDexClass *class, GLangOutput *lang, GCodeBuffer *buffer, const GDexFormat *format)
{
@@ -571,17 +571,4 @@ GBufferLine *line, GLangOutput *output)
}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+#endif
diff --git a/src/format/dex/class.h b/src/format/dex/class.h
index 044ace6..46529c3 100644
--- a/src/format/dex/class.h
+++ b/src/format/dex/class.h
@@ -30,7 +30,6 @@
#include "dex.h"
#include "method.h"
-#include "../../decomp/output.h"
@@ -79,7 +78,7 @@ GDexMethod *g_dex_class_find_method_by_address(const GDexClass *, vmpa_t);
const char *g_dex_class_get_source_file(const GDexClass *, const GDexFormat *);
/* Procède à la décompilation complète d'une classe donnée. */
-void g_dex_class_decompile(const GDexClass *, GLangOutput *, GCodeBuffer *, const GDexFormat *);
+//void g_dex_class_decompile(const GDexClass *, GLangOutput *, GCodeBuffer *, const GDexFormat *);
diff --git a/src/format/dex/method.c b/src/format/dex/method.c
index 2083293..1223eb9 100644
--- a/src/format/dex/method.c
+++ b/src/format/dex/method.c
@@ -466,9 +466,10 @@ DexVariableIndex g_dex_method_get_variable(const GDexMethod *method, uint32_t in
* Remarques : - *
* *
******************************************************************************/
-
+#if 0
void g_dex_method_decompile(const GDexMethod *method, GLangOutput *lang, GCodeBuffer *buffer)
{
g_binary_routine_print_code(method->routine, lang, buffer, true);
}
+#endif
diff --git a/src/format/dex/method.h b/src/format/dex/method.h
index bc07ab9..41ddb4c 100644
--- a/src/format/dex/method.h
+++ b/src/format/dex/method.h
@@ -91,7 +91,7 @@ bool g_dex_method_get_offset(const GDexMethod *method, phys_t *);
DexVariableIndex g_dex_method_get_variable(const GDexMethod *, uint32_t);
/* Procède à la décompilation complète d'une routine donnée. */
-void g_dex_method_decompile(const GDexMethod *, GLangOutput *, GCodeBuffer *);
+//void g_dex_method_decompile(const GDexMethod *, GLangOutput *, GCodeBuffer *);