summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide/format
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2021-09-26 21:21:41 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2021-09-26 21:21:41 (GMT)
commitdc25699a414f0baa2265be0cfa162c77b2cdc22d (patch)
treeda0d2d78716e6818aa7e1b8851f70f47da8a905f /plugins/pychrysalide/format
parentce46ff64c00a90d03e2481dcaf1e713f22b71492 (diff)
Provide a serialization capability for operands.
Diffstat (limited to 'plugins/pychrysalide/format')
-rw-r--r--plugins/pychrysalide/format/symbol.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/pychrysalide/format/symbol.c b/plugins/pychrysalide/format/symbol.c
index d6d6402..e2f2dda 100644
--- a/plugins/pychrysalide/format/symbol.c
+++ b/plugins/pychrysalide/format/symbol.c
@@ -43,6 +43,7 @@
#include "../helpers.h"
#include "../analysis/routine.h"
#include "../analysis/db/items/comment.h"
+#include "../analysis/storage/serialize.h"
#include "../arch/instruction.h"
#include "../arch/vmpa.h"
#include "../glibext/linegen.h"
@@ -973,6 +974,9 @@ bool ensure_python_binary_symbol_is_registered(void)
if (!ensure_python_line_generator_is_registered())
return false;
+ if (!ensure_python_serializable_object_is_registered())
+ return false;
+
if (!register_class_for_pygobject(dict, G_TYPE_BIN_SYMBOL, type, &PyGObject_Type))
return false;