summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--src/arch/dalvik/instruction.c5
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b3778c5..6fece21 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+12-11-06 Cyrille Bagard <nocbos@gmail.com>
+
+ * src/arch/dalvik/instruction.c:
+ Fix graphs by adding some missing Dalvik return opcodes.
+
12-11-05 Cyrille Bagard <nocbos@gmail.com>
* 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);
}