summaryrefslogtreecommitdiff
path: root/src/plugins/plugin-def.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-08-06 21:34:51 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-08-06 21:34:51 (GMT)
commitb070fb755b9e32bfa80e8854606f431d285ca23e (patch)
tree4a5cf3b8e6516cf3b93ac1fc64c1d18008c0f3e2 /src/plugins/plugin-def.h
parentc4b5b5d4d88dc60caad7a10b22c38cc796fdec08 (diff)
Extended the API to allow obfuscators detections.
Diffstat (limited to 'src/plugins/plugin-def.h')
-rw-r--r--src/plugins/plugin-def.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/plugin-def.h b/src/plugins/plugin-def.h
index 6bc2086..b8b0e0d 100644
--- a/src/plugins/plugin-def.h
+++ b/src/plugins/plugin-def.h
@@ -83,6 +83,7 @@ typedef uint32_t plugin_action_t;
#define DPS_CONTENT DEFINE_PLUGIN_SUB_CATEGORY(0)
#define DPS_FORMAT DEFINE_PLUGIN_SUB_CATEGORY(1)
#define DPS_DISASSEMBLY DEFINE_PLUGIN_SUB_CATEGORY(2)
+#define DPS_DETECTION DEFINE_PLUGIN_SUB_CATEGORY(3)
// GUI -> project
// binary loaded
@@ -172,6 +173,13 @@ typedef enum _PluginAction
/* Désassemblage fini */
PGA_DISASSEMBLY_ENDED = DPC_BINARY_PROCESSING | DPS_DISASSEMBLY | DEFINE_PLUGIN_ACTION(9),
+ /**
+ * DPC_BINARY_PROCESSING | DPS_DETECTION
+ */
+
+ /* Intervention en toute fin d'analyse de contenu chargé */
+ PGA_DETECTION_OBFUSCATORS = DPC_BINARY_PROCESSING | DPS_DETECTION | DEFINE_PLUGIN_ACTION(0),
+