summaryrefslogtreecommitdiff
path: root/plugins/apihashing/core.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2023-10-20 06:45:34 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2023-10-20 06:45:34 (GMT)
commit0140499d4340c074b039194a2e71808d909d8cbd (patch)
tree0b8b16353b5a835245bce55393f206b8e6383dc2 /plugins/apihashing/core.c
parente42109df9964b153a80ec65a5f1badc02bfb8fa6 (diff)
Include sll1-add-hash32 as new custom API hash.
Diffstat (limited to 'plugins/apihashing/core.c')
-rw-r--r--plugins/apihashing/core.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/apihashing/core.c b/plugins/apihashing/core.c
index 7e98f7c..dd480a8 100644
--- a/plugins/apihashing/core.c
+++ b/plugins/apihashing/core.c
@@ -35,6 +35,7 @@
#include "classics/crc32.h"
#include "classics/djb2.h"
#include "classics/ror13.h"
+#include "custom/sll1-add-hash32.h"
#ifdef INCLUDE_PYTHON3_BINDINGS_
@@ -83,6 +84,8 @@ G_MODULE_EXPORT bool chrysalide_plugin_init(GPluginModule *plugin)
if (result) result = REGISTER_SCAN_MODIFIER(g_scan_djb2_modifier_new());
if (result) result = REGISTER_SCAN_MODIFIER(g_scan_ror13_modifier_new());
+ if (result) result = REGISTER_SCAN_MODIFIER(g_scan_sll1_add_hash32_modifier_new());
+
#ifdef INCLUDE_PYTHON3_BINDINGS
if (result) result = add_apihashing_module_to_python_module();