diff options
Diffstat (limited to 'plugins/dalvik/v35')
-rw-r--r-- | plugins/dalvik/v35/instruction.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/dalvik/v35/instruction.c b/plugins/dalvik/v35/instruction.c index 28cb0dd..773ec7a 100644 --- a/plugins/dalvik/v35/instruction.c +++ b/plugins/dalvik/v35/instruction.c @@ -185,7 +185,7 @@ GArchInstruction *g_dalvik35_instruction_new(itid_t uid) result = g_object_new(G_TYPE_DALVIK35_INSTRUCTION, NULL); - G_ARCH_INSTRUCTION(result)->uid = uid; + g_arch_instruction_set_unique_id(G_ARCH_INSTRUCTION(result), uid); return G_ARCH_INSTRUCTION(result); @@ -232,7 +232,7 @@ static const char *g_dalvik35_instruction_get_keyword(const GDalvik35Instruction const char *result; /* Désignation à retourner */ itid_t uid; /* Accès simplifié */ - uid = G_ARCH_INSTRUCTION(instr)->uid; + uid = g_arch_instruction_get_unique_id(G_ARCH_INSTRUCTION(instr)); assert(uid < DOP35_COUNT); @@ -272,7 +272,7 @@ static void g_dalvik35_instruction_call_hook(GDalvik35Instruction *instr, InstrP base = G_ARCH_INSTRUCTION(instr); - uid = base->uid; + uid = g_arch_instruction_get_unique_id(base); assert(uid < DOP35_COUNT); @@ -301,7 +301,7 @@ static const char *g_dalvik35_instruction_get_description(const GDalvik35Instruc const char *result; /* Description à retourner */ itid_t uid; /* Accès simplifié */ - uid = G_ARCH_INSTRUCTION(instr)->uid; + uid = g_arch_instruction_get_unique_id(G_ARCH_INSTRUCTION(instr)); assert(uid < DOP35_COUNT); |