diff options
Diffstat (limited to 'src/arch/dalvik')
-rw-r--r-- | src/arch/dalvik/link.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/arch/dalvik/link.c b/src/arch/dalvik/link.c index f92541b..d1404d0 100644 --- a/src/arch/dalvik/link.c +++ b/src/arch/dalvik/link.c @@ -101,9 +101,13 @@ void handle_dalvik_packed_switch_links(GArchInstruction *instr, GArchProcessor * char *int_val; /* Valeur en chaƮne de carac. */ GDbComment *item; /* Indication sur la condition */ - assert(g_arch_instruction_count_operands(instr) == 2); + g_arch_instruction_lock_operands(instr); - op = g_arch_instruction_get_operand(instr, 1); + assert(_g_arch_instruction_count_operands(instr) == 2); + + op = _g_arch_instruction_get_operand(instr, 1); + + g_arch_instruction_unlock_operands(instr); defined = false; |