diff options
Diffstat (limited to 'src/format/dex/dex-int.h')
-rwxr-xr-x | src/format/dex/dex-int.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/format/dex/dex-int.h b/src/format/dex/dex-int.h index 5feb427..6a153c1 100755 --- a/src/format/dex/dex-int.h +++ b/src/format/dex/dex-int.h @@ -61,6 +61,12 @@ struct _GDexFormatClass /* Retrouve si possible la méthode associée à une adresse. */ GDexMethod *g_dex_format_find_method_by_address(const GDexFormat *, vmpa_t); +/* Dénombre le nombre de classes trouvées. */ +size_t g_dex_format_count_classes(const GDexFormat *); + +/* Fournit une classe du format chargée en mémoire. */ +GDexClass *g_dex_format_get_class(const GDexFormat *, size_t); + /* ------------------------ ELEMENTS DE TABLE DES CONSTANTES ------------------------ */ @@ -112,9 +118,33 @@ void reset_dex_class_data_item(class_data_item *); +/* --------------------------- PORTION DE CODE EXECUTABLE --------------------------- */ + + +/* Procède à la lecture d'une association exception <-> code. */ +bool read_dex_encoded_type_addr_pair(const GDexFormat *, off_t *, encoded_type_addr_pair *); + +/* Procède à la lecture d'une association exception <-> code. */ +bool read_dex_encoded_catch_handler(const GDexFormat *, off_t *, encoded_catch_handler *); + +/* Supprime tous les éléments chargés en mémoire à la lecture. */ +void reset_dex_encoded_catch_handler(encoded_catch_handler *); + +/* Procède à la lecture d'une association exception <-> code. */ +bool read_dex_encoded_catch_handler_list(const GDexFormat *, off_t *, encoded_catch_handler_list *); + +/* Supprime tous les éléments chargés en mémoire à la lecture. */ +void reset_dex_encoded_catch_handler_list(encoded_catch_handler_list *); + +/* Procède à la lecture d'une association exception <-> code. */ +bool read_dex_try_item(const GDexFormat *, off_t *, try_item *); + /* Procède à la lecture d'une portion de code DEX. */ bool read_dex_code_item(const GDexFormat *, off_t *, code_item *); +/* Supprime tous les éléments chargés en mémoire à la lecture. */ +void reset_dex_code_item(code_item *); + |