summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2016-04-24 18:43:54 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2016-04-24 18:43:54 (GMT)
commit9d04b66153bd0b354c0fb5c097b9face61a649db (patch)
tree54a507c720287597e7a70808e64ad36b37ed41b8 /plugins
parenta5758a42acdfaf0ac20c4cfb9cf162a9b4440e39 (diff)
Handled hooks and rules in Dalvik opcodes definitions.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/androhelpers/switch.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/androhelpers/switch.c b/plugins/androhelpers/switch.c
index 8387962..20b2119 100644
--- a/plugins/androhelpers/switch.c
+++ b/plugins/androhelpers/switch.c
@@ -30,7 +30,6 @@
#include <arch/immediate.h>
#include <arch/dalvik/instruction.h>
#include <arch/dalvik/instruction-def.h>
-#include <arch/dalvik/operands/target.h>
#include <format/dex/dex-int.h>
#include <../i18n.h>
@@ -83,10 +82,12 @@ static bool load_dex_switch(const GArchInstruction *instr, GArchInstruction *ins
operand = g_arch_instruction_get_operand(instr, 1);
+ /*
if (!G_IS_DALVIK_TARGET_OPERAND(operand))
return false;
+ */
- imm = g_dalvik_target_operand_get_value(G_DALVIK_TARGET_OPERAND(operand));
+ imm = NULL; //g_dalvik_target_operand_get_value(G_DALVIK_TARGET_OPERAND(operand));
if (!g_imm_operand_to_vmpa_t(imm, &addr))
return false;