From ba5c517970f725903ae8b196b28f1a2eb7705536 Mon Sep 17 00:00:00 2001 From: Cyrille Bagard Date: Tue, 6 Nov 2012 19:20:13 +0000 Subject: Fixed graphs by adding some missing Dalvik return opcodes. git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@279 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a --- ChangeLog | 5 +++++ src/arch/dalvik/instruction.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index b3778c5..6fece21 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +12-11-06 Cyrille Bagard + + * src/arch/dalvik/instruction.c: + Fix graphs by adding some missing Dalvik return opcodes. + 12-11-05 Cyrille Bagard * plugins/dexresolver/context.c: diff --git a/src/arch/dalvik/instruction.c b/src/arch/dalvik/instruction.c index d494fb4..416a699 100644 --- a/src/arch/dalvik/instruction.c +++ b/src/arch/dalvik/instruction.c @@ -514,7 +514,10 @@ static InstructionLinkType dalvik_get_instruction_link(const GDalvikInstruction static bool dalvik_instruction_is_return(const GDalvikInstruction *instr) { - return (instr->type == DOP_RETURN_VOID); + return (instr->type == DOP_RETURN_VOID + || instr->type == DOP_RETURN + || instr->type == DOP_RETURN_WIDE + || instr->type == DOP_RETURN_OBJECT); } -- cgit v0.11.2-87-g4458