diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2023-10-18 20:27:58 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2023-10-18 20:27:58 (GMT) |
commit | e42109df9964b153a80ec65a5f1badc02bfb8fa6 (patch) | |
tree | 2e175960e2f023fef46be3c7f4adc58c9311c45c /plugins/apihashing/core.c | |
parent | 3402b000429c6189b0103ed549edd811d68e7d5e (diff) |
Add support for the crc32 checksum.
Diffstat (limited to 'plugins/apihashing/core.c')
-rw-r--r-- | plugins/apihashing/core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/apihashing/core.c b/plugins/apihashing/core.c index 9114afe..7e98f7c 100644 --- a/plugins/apihashing/core.c +++ b/plugins/apihashing/core.c @@ -32,6 +32,7 @@ # include "python/module.h" # include "python/classics/module.h" #endif +#include "classics/crc32.h" #include "classics/djb2.h" #include "classics/ror13.h" @@ -78,6 +79,7 @@ G_MODULE_EXPORT bool chrysalide_plugin_init(GPluginModule *plugin) __status; \ }) + if (result) result = REGISTER_SCAN_MODIFIER(g_scan_crc32_modifier_new()); if (result) result = REGISTER_SCAN_MODIFIER(g_scan_djb2_modifier_new()); if (result) result = REGISTER_SCAN_MODIFIER(g_scan_ror13_modifier_new()); |