diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2010-05-17 00:28:23 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2010-05-17 00:28:23 (GMT) |
commit | 7adb4243ad629554e496de173977721a8a5d0110 (patch) | |
tree | 18f50fcdab35e057b3a1a10e7e0c1f141e89eb39 /src/format/dex/dex_def.h | |
parent | 118a668adbf6ca9d4c549618e54f58330f46ce58 (diff) |
Given more details for each operand relative to one DEX pool.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@156 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format/dex/dex_def.h')
-rwxr-xr-x | src/format/dex/dex_def.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/format/dex/dex_def.h b/src/format/dex/dex_def.h index 9387a90..9faf050 100755 --- a/src/format/dex/dex_def.h +++ b/src/format/dex/dex_def.h @@ -54,8 +54,23 @@ typedef struct _type_id_item } type_id_item; +/* Description d'un prototype */ +typedef struct _proto_id_item +{ + uint32_t shorty_idx; /* Description version courte */ + uint32_t return_type_idx; /* Type de retour */ + uint32_t parameters_off; /* Position des arguments */ +} proto_id_item; +/* Description d'un champ */ +typedef struct _field_id_item +{ + uint16_t class_idx; /* Classe d'appartenance */ + uint16_t type_idx; /* Type du champ */ + uint32_t name_idx; /* Nom du champ */ + +} field_id_item; /* Description d'une méthode */ typedef struct _method_id_item @@ -151,6 +166,9 @@ typedef struct _code_item #define ENDIAN_CONSTANT 0x12345678 #define REVERSE_ENDIAN_CONSTANT 0x78563412 +/* Indice non valide */ +#define NO_INDEX 0xffffffff + /* En-tête de tout programe Dex */ typedef struct _dex_header |