summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-09-19 06:20:09 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-09-19 06:20:09 (GMT)
commit445a7dd3b70dc443c0c03309e3ee03e839cd4fdc (patch)
tree72eff90577a0cf6c36cd18991cb0ebda9987843a /src
parentaa3cb06f056ccf1a0467eaff8aa4b40701902f5e (diff)
Deleted old dead code for plugins.
Diffstat (limited to 'src')
-rw-r--r--src/plugins/plugin-def.h91
1 files changed, 0 insertions, 91 deletions
diff --git a/src/plugins/plugin-def.h b/src/plugins/plugin-def.h
index 8b7ac7d..643b6e2 100644
--- a/src/plugins/plugin-def.h
+++ b/src/plugins/plugin-def.h
@@ -177,98 +177,7 @@ typedef enum _PluginAction
/* Intervention en toute fin d'analyse de contenu chargé */
PGA_DETECTION_OBFUSCATORS = DPC_BINARY_PROCESSING | DPS_DETECTION | DEFINE_PLUGIN_ACTION(0),
-
-
-
-
- PGA_DISASSEMBLE = (1 << 1), /* Désassemblage (non trivial) */
-
- PGA_BINARY_DISASSEMBLED = (1 << 2), /* Désassemblage fini */
- PGA_BINARY_LINKED = (1 << 3), /* Liaison en place */
- PGA_BINARY_BOUNDED = (1 << 4), /* Limites de routines définies*/
- PGA_BINARY_GROUPED = (1 << 5), /* Instructions regroupées */
- PGA_BINARY_PRINTED = (1 << 6), /* Instructions imprimées */
-
- PGA_DISASS_PROCESS = (1 << 6), /* Traitement niveau assembleur*/
- PGA_CODE_PROCESS = (1 << 7), /* Traitement du code existant */
-
- PGA_DEBUGGER_ATTACH = (1 << 8), /* Activation d'un débogueur */
- PGA_DEBUGGER_DETACH = (1 << 9), /* Désactivation d'un débogueur*/
-
- /**
- * Organisation interne :
- * - rassemblement massif de tous les greffons.
- * - marquage des cellules vides.
- */
- PGA_ALL = 0xfffffffe,
- PGA_EMPTY = 0xffffffff
-
-} PluginAction;
-
-
-
-/* MAJ !! */
-#define PGA_COUNT 16
-
-
-
-
-
-
-/* Types de greffon */
-typedef enum _PluginType
-{
- PGT_BINARY = (1 << 0) /* Actions sur un binaire */
-
-
-} PluginType;
-
-
-/* Action(s) menée(s) par le greffon */
-#if 0
-typedef enum _PluginAction
-{
- PGA_NONE = (0 << 0), /* Aucun intérêt */
-
- PGA_FORMAT_MATCHER = (1 << 0), /* Détection et chargement */
-
- PGA_DISASSEMBLE = (1 << 1), /* Désassemblage (non trivial) */
-
- PGA_BINARY_DISASSEMBLED = (1 << 2), /* Désassemblage fini */
- PGA_BINARY_LINKED = (1 << 3), /* Liaison en place */
- PGA_BINARY_BOUNDED = (1 << 4), /* Limites de routines définies*/
- PGA_BINARY_GROUPED = (1 << 5), /* Instructions regroupées */
- PGA_BINARY_PRINTED = (1 << 6), /* Instructions imprimées */
-
- PGA_DISASS_PROCESS = (1 << 6), /* Traitement niveau assembleur*/
- PGA_CODE_PROCESS = (1 << 7), /* Traitement du code existant */
-
- PGA_DEBUGGER_ATTACH = (1 << 8), /* Activation d'un débogueur */
- PGA_DEBUGGER_DETACH = (1 << 9) /* Désactivation d'un débogueur*/
-
} PluginAction;
-#endif
-
-
-
-/* Actions éligibles pour run_plugins_on_binary() */
-#define PGA_BINARY_ACTIONS ( 0 \
- | PGA_BINARY_DISASSEMBLED | PGA_BINARY_LINKED \
- | PGA_BINARY_BOUNDED | PGA_BINARY_PRINTED \
- )
-
-
-
-/* Fournit une indication sur le(s) type(s) du greffon présent. */
-//typedef PluginType (* get_plugin_type_fc) (void);
-
-/* Fournit une indication sur le type d'opération(s) menée(s). */
-//typedef PluginAction (* get_plugin_action_fc) (void);
-
-
-
-
-