summaryrefslogtreecommitdiff
path: root/src/core/core.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2021-08-12 22:00:35 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2021-08-12 22:00:35 (GMT)
commit0daed1fa6212eb83b65ccd10c9f2c80bf12c6d27 (patch)
tree4b7ba8a882f0bf9c482d7ec64a50e8d4c79a3fc9 /src/core/core.c
parent35f435585638fdf74377c3a9c7e7c2413995d4a7 (diff)
Connect a factory for operands to all the instructions.
Diffstat (limited to 'src/core/core.c')
-rw-r--r--src/core/core.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/core.c b/src/core/core.c
index a72122c..62f6821 100644
--- a/src/core/core.c
+++ b/src/core/core.c
@@ -106,6 +106,7 @@ bool load_all_core_components(bool cs)
if (result) result = init_segment_content_hash_table();
register_arch_gtypes();
+ init_operands_factory();
if (result) result = init_chrysalide_dynamic_types();
@@ -136,6 +137,8 @@ void unload_all_core_components(bool cs)
{
exit_chrysalide_dynamic_types();
+ exit_operands_factory();
+
unload_demanglers_definitions();
unload_processors_definitions();