diff options
Diffstat (limited to 'src/format/dex/dex-int.h')
-rwxr-xr-x | src/format/dex/dex-int.h | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/src/format/dex/dex-int.h b/src/format/dex/dex-int.h index 6a153c1..55a48b5 100755 --- a/src/format/dex/dex-int.h +++ b/src/format/dex/dex-int.h @@ -68,6 +68,13 @@ size_t g_dex_format_count_classes(const GDexFormat *); GDexClass *g_dex_format_get_class(const GDexFormat *, size_t); +/* -------------------------- DESCRIPTION DU FORMAT DALVIK -------------------------- */ + + +/* Procède à la lecture d'une en-tête de programme DEX. */ +bool read_dex_header(const GDexFormat *, off_t *, dex_header *); + + /* ------------------------ ELEMENTS DE TABLE DES CONSTANTES ------------------------ */ @@ -147,14 +154,26 @@ void reset_dex_code_item(code_item *); +/* ------------------------------- AIGUILLAGES DIVERS ------------------------------- */ -/* Procède à la lecture d'une en-tête de programme DEX. */ -bool read_dex_header(const GDexFormat *, off_t *, dex_header *); +/* Procède à la lecture d'un contenu d'aiguillage compact. */ +bool read_dex_packed_switch(const GDexFormat *, off_t *, packed_switch *); + +/* Supprime tous les éléments chargés en mémoire à la lecture. */ +void reset_dex_packed_switch(packed_switch *); +/* Procède à la lecture d'un contenu d'aiguillage dispersé. */ +bool read_dex_sparse_switch(const GDexFormat *, off_t *, sparse_switch *); +/* Supprime tous les éléments chargés en mémoire à la lecture. */ +void reset_dex_sparse_switch(sparse_switch *); +/* Procède à la lecture d'un contenu d'aiguillage Dex interne. */ +bool read_dex_switch(const GDexFormat *, off_t *, dex_switch *); +/* Supprime tous les éléments chargés en mémoire à la lecture. */ +void reset_dex_switch(dex_switch *); |