summaryrefslogtreecommitdiff
path: root/plugins/dalvik
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/dalvik')
-rw-r--r--plugins/dalvik/processor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/dalvik/processor.c b/plugins/dalvik/processor.c
index 16d6644..ff8b805 100644
--- a/plugins/dalvik/processor.c
+++ b/plugins/dalvik/processor.c
@@ -110,6 +110,9 @@ static void g_dalvik_processor_class_init(GDalvikProcessorClass *klass)
proc = G_ARCH_PROCESSOR_CLASS(klass);
+ proc->get_ctx = (get_processor_context_fc)g_dalvik_processor_get_context;
+ //proc->get_dec_ctx = (get_decomp_context_fc)g_dalvik_processor_get_decomp_context;
+
proc->disassemble = (disass_instr_fc)g_dalvik_processor_disassemble;
}
@@ -137,9 +140,6 @@ static void g_dalvik_processor_init(GDalvikProcessor *proc)
parent->memsize = MDS_32_BITS;
parent->inssize = MDS_16_BITS;
- parent->get_ctx = (get_processor_context_fc)g_dalvik_processor_get_context;
- //parent->get_dec_ctx = (get_decomp_context_fc)g_dalvik_processor_get_decomp_context;
-
}