summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/arch/module.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-07-19 19:00:34 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-07-19 19:00:34 (GMT)
commita4f40b1971fe208bd9c25adebaeff5614aee87ee (patch)
tree376d1832e345b0bf451cd8d06b97e0c2cd37fa86 /plugins/pychrysalide/arch/module.c
parent5d94aa1a1e3af384307bb9d760410b61a33e7323 (diff)
Created an interface for jumping to addresses from operands.
Diffstat (limited to 'plugins/pychrysalide/arch/module.c')
-rw-r--r--plugins/pychrysalide/arch/module.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/pychrysalide/arch/module.c b/plugins/pychrysalide/arch/module.c
index 54b470c..9c10965 100644
--- a/plugins/pychrysalide/arch/module.c
+++ b/plugins/pychrysalide/arch/module.c
@@ -37,6 +37,7 @@
#include "operand.h"
#include "processor.h"
#include "raw.h"
+#include "targetableop.h"
#include "vmpa.h"
#include "../access.h"
#include "../helpers.h"
@@ -143,6 +144,8 @@ bool add_arch_module_to_python_module(PyObject *super)
result &= py_base_define_constants(Py_TYPE(module));
+ result &= register_python_targetable_operand(module);
+
result &= register_python_arch_instruction(module);
result &= register_python_arch_operand(module);
result &= register_python_arch_processor(module);