summaryrefslogtreecommitdiff
path: root/plugins/dalvik
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-01-17 20:13:15 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-01-17 20:13:15 (GMT)
commit2dd2099b9f4d238aa7804e07bc594b5fba06e813 (patch)
treec2eb4b8d10ff7717cd48c2d831112dc5b1e65494 /plugins/dalvik
parent9da8f8b37e3edebc917b4e223dd2447cd7cbc818 (diff)
Cleaned the definition of architecture processors.
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;
-
}