diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-02-17 09:59:45 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-02-17 09:59:45 (GMT) |
commit | 838ed83634c445e4ba1b15998f4ad50d1e7503c9 (patch) | |
tree | dfd7a6b5be9217723d69742da868df8404da1ff1 /plugins/pychrysalide/arch/module.c | |
parent | 5108aad8eb7b20a14c1e7d9e084af2272035192d (diff) |
Relocated the undefined instructions.
Diffstat (limited to 'plugins/pychrysalide/arch/module.c')
-rw-r--r-- | plugins/pychrysalide/arch/module.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/pychrysalide/arch/module.c b/plugins/pychrysalide/arch/module.c index 093efe2..05942a5 100644 --- a/plugins/pychrysalide/arch/module.c +++ b/plugins/pychrysalide/arch/module.c @@ -40,8 +40,8 @@ #include "processor.h" #include "raw.h" #include "register.h" -#include "undefined.h" #include "vmpa.h" +#include "instructions/module.h" #include "operands/module.h" #include "../helpers.h" @@ -140,6 +140,7 @@ bool add_arch_module(PyObject *super) result = (module != NULL); + if (result) result = add_arch_instructions_module(module); if (result) result = add_arch_operands_module(module); if (result) result = py_base_define_constants(Py_TYPE(module)); @@ -175,10 +176,10 @@ bool populate_arch_module(void) if (result) result = ensure_python_arch_processor_is_registered(); if (result) result = ensure_python_raw_instruction_is_registered(); if (result) result = ensure_python_arch_register_is_registered(); - if (result) result = ensure_python_undefined_instruction_is_registered(); if (result) result = ensure_python_vmpa_is_registered(); if (result) result = ensure_python_mrange_is_registered(); + if (result) result = populate_arch_instructions_module(); if (result) result = populate_arch_operands_module(); assert(result); |