summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
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;