summaryrefslogtreecommitdiff
path: root/src/format/dex/method.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/dex/method.h')
-rw-r--r--src/format/dex/method.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/format/dex/method.h b/src/format/dex/method.h
index 79e3077..dee33cb 100644
--- a/src/format/dex/method.h
+++ b/src/format/dex/method.h
@@ -67,7 +67,10 @@ typedef enum _DexVariableIndex
GType g_dex_method_get_type(void);
/* Crée une nouvelle représentation de methode issue de code. */
-GDexMethod *g_dex_method_new(const GDexFormat *, const encoded_method *, uleb128_t *);
+GDexMethod *g_dex_method_new(GDexFormat *, const encoded_method *, uleb128_t *);
+
+/* Crée une nouvelle représentation de methode vide. */
+GDexMethod *g_dex_method_new_empty(const GDexFormat *, const method_id_item *);
/* Fournit les indications Dex concernant la méthode. */
const encoded_method *g_dex_method_get_dex_info(const GDexMethod *);
@@ -78,8 +81,8 @@ const code_item *g_dex_method_get_dex_body(const GDexMethod *);
/* Fournit la routine OpenIDA correspondant à la méthode. */
GBinRoutine *g_dex_method_get_routine(const GDexMethod *);
-/* Fournit la zone binaire correspondant à la méthode. */
-//GBinPart *g_dex_method_as_part(const GDexMethod *);
+/* Intègre la méthode en tant que portion de code. */
+void g_dex_method_include_as_portion(const GDexMethod *, GBinPortion *);
/* Indique la position de la méthode au sein du binaire. */
off_t g_dex_method_get_offset(const GDexMethod *);