diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-04-25 09:21:32 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-04-25 09:21:32 (GMT) |
commit | 62ea3df536faae7e1706bbbc2c19cf43c4dae213 (patch) | |
tree | 953ad2ef97bcb5cc8e9a431ee81602fb86bd60cb /src/plugins | |
parent | 5042737fef27c821535883dadfb0ad9ac81ad294 (diff) |
Included a new plugin to mark calls to exit() functions as return points.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@517 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/plugin-def.h | 34 |
1 files changed, 30 insertions, 4 deletions
diff --git a/src/plugins/plugin-def.h b/src/plugins/plugin-def.h index d7a37e4..68f9942 100644 --- a/src/plugins/plugin-def.h +++ b/src/plugins/plugin-def.h @@ -117,7 +117,7 @@ typedef enum _PluginAction */ /* Détection et chargement */ - PGA_FORMAT_MATCHER = DPC_BINARY_PROCESSING | DPS_FORMAT | DEFINE_PLUGIN_ACTION(0), + PGA_FORMAT_MATCHER = DPC_BINARY_PROCESSING | DPS_FORMAT | DEFINE_PLUGIN_ACTION(0), /* Accompagnement du chargement (fin) */ PGA_FORMAT_LOADER_LAST = DPC_BINARY_PROCESSING | DPS_FORMAT | DEFINE_PLUGIN_ACTION(1), @@ -127,10 +127,36 @@ typedef enum _PluginAction */ /* Désassemblage démarré */ - PGA_DISASSEMBLY_STARTED = DPC_BINARY_PROCESSING | DPS_DISASSEMBLY | DEFINE_PLUGIN_ACTION(0), + PGA_DISASSEMBLY_STARTED = DPC_BINARY_PROCESSING | DPS_DISASSEMBLY | DEFINE_PLUGIN_ACTION(0), + + /* Instructions toutes jutes désassemblées */ + PGA_DISASSEMBLY_RAW = DPC_BINARY_PROCESSING | DPS_DISASSEMBLY | DEFINE_PLUGIN_ACTION(1), + + /* Crochets de type 'link' exécutés */ + PGA_DISASSEMBLY_HOOKED_LINK = DPC_BINARY_PROCESSING | DPS_DISASSEMBLY | DEFINE_PLUGIN_ACTION(2), + + /* Crochets de type 'post' exécutés */ + PGA_DISASSEMBLY_HOOKED_POST = DPC_BINARY_PROCESSING | DPS_DISASSEMBLY | DEFINE_PLUGIN_ACTION(3), + + /* Limites de routines définies */ + PGA_DISASSEMBLY_LIMITED = DPC_BINARY_PROCESSING | DPS_DISASSEMBLY | DEFINE_PLUGIN_ACTION(4), + + /* Détection d'éventuelles boucles effectuée */ + PGA_DISASSEMBLY_LOOPS = DPC_BINARY_PROCESSING | DPS_DISASSEMBLY | DEFINE_PLUGIN_ACTION(5), + + /* Liaisons entre instructions mises en place */ + PGA_DISASSEMBLY_LINKED = DPC_BINARY_PROCESSING | DPS_DISASSEMBLY | DEFINE_PLUGIN_ACTION(6), + + /* Instructions regroupées en blocs basiques */ + PGA_DISASSEMBLY_GROUPED = DPC_BINARY_PROCESSING | DPS_DISASSEMBLY | DEFINE_PLUGIN_ACTION(7), + + /* Définitions de profondeurs d'exécution */ + PGA_DISASSEMBLY_RANKED = DPC_BINARY_PROCESSING | DPS_DISASSEMBLY | DEFINE_PLUGIN_ACTION(8), /* Désassemblage fini */ - PGA_DISASSEMBLY_ENDED = DPC_BINARY_PROCESSING | DPS_DISASSEMBLY | DEFINE_PLUGIN_ACTION(1), + PGA_DISASSEMBLY_ENDED = DPC_BINARY_PROCESSING | DPS_DISASSEMBLY | DEFINE_PLUGIN_ACTION(9), + + @@ -161,7 +187,7 @@ typedef enum _PluginAction /* MAJ !! */ -#define PGA_COUNT 6 +#define PGA_COUNT 16 |