diff options
Diffstat (limited to 'src/arch/dalvik/decomp/ret.c')
-rw-r--r-- | src/arch/dalvik/decomp/ret.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/arch/dalvik/decomp/ret.c b/src/arch/dalvik/decomp/ret.c index b7c5414..47179f3 100644 --- a/src/arch/dalvik/decomp/ret.c +++ b/src/arch/dalvik/decomp/ret.c @@ -44,11 +44,14 @@ GDecInstruction *dalvik_decomp_instr_return(const GArchInstruction *instr, GDecContext *ctx) { GDecInstruction *result; /* Instruction à retourner */ + vmpa_t addr; /* Adresse de l'instruction */ GArchOperand *operand; /* Opérande de l'instruction */ GDecInstruction *reg; /* Pseudo-registre redéfini */ + g_arch_instruction_get_location(instr, NULL, NULL, &addr); + operand = g_arch_instruction_get_operand(instr, 0); - reg = g_dec_context_convert_register(ctx, operand, false); + reg = g_dec_context_convert_register(ctx, operand, false, addr); result = g_return_expression_new(G_DEC_EXPRESSION(reg)); |