summaryrefslogtreecommitdiff
path: root/plugins/pychrysa/arch
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-10-01 17:32:12 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-10-01 17:32:12 (GMT)
commit208abfe4182c0dafc230e0377b3efcc6c24be0f9 (patch)
tree4e084364b0a211ee36a5e8e55b70367f01d720d5 /plugins/pychrysa/arch
parent593aee561015251dfd042dc5e00388f63232c45f (diff)
Defined the ELF support as plugin.
Diffstat (limited to 'plugins/pychrysa/arch')
-rw-r--r--plugins/pychrysa/arch/module.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/pychrysa/arch/module.c b/plugins/pychrysa/arch/module.c
index d9eabed..ae90b5d 100644
--- a/plugins/pychrysa/arch/module.c
+++ b/plugins/pychrysa/arch/module.c
@@ -39,6 +39,7 @@
#include "raw.h"
#include "vmpa.h"
#include "arm/module.h"
+#include "../access.h"
#include "../helpers.h"
@@ -155,6 +156,9 @@ bool add_arch_module_to_python_module(PyObject *super)
result &= add_arch_arm_module_to_python_module(module);
+ if (result)
+ register_access_to_python_module("pychrysalide.arch", module);
+
loading_failed:
assert(result);