summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-11-06 19:20:13 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-11-06 19:20:13 (GMT)
commitba5c517970f725903ae8b196b28f1a2eb7705536 (patch)
tree53bcf572175335e48852bb3dbd66063b358a2377
parentc35d5d4ce62b812ec0aa4a5ebbacb84cd0901d53 (diff)
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
-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);
}