diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2012-11-22 23:43:14 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2012-11-22 23:43:14 (GMT) |
commit | 9428bf292d066055d168b9bb49fe90c41f2942d1 (patch) | |
tree | 9d4d75a414f058dc7015401d8fada63ec24fe14b /src/plugins/plugin-def.h | |
parent | 3669bdaf8552f53baa5cfb2b0d360959eea61236 (diff) |
Replaced the text of some registers (this and parameters).
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@289 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/plugins/plugin-def.h')
-rw-r--r-- | src/plugins/plugin-def.h | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/src/plugins/plugin-def.h b/src/plugins/plugin-def.h index c1579b2..602b296 100644 --- a/src/plugins/plugin-def.h +++ b/src/plugins/plugin-def.h @@ -43,22 +43,34 @@ typedef enum _PluginType /* Action(s) menée(s) par le greffon */ typedef enum _PluginAction { - PGA_NONE = (0 << 0), /* Aucun intérêt */ + PGA_NONE = (0 << 0), /* Aucun intérêt */ - PGA_FORMAT_MATCHER = (1 << 0), /* Détection et chargement */ + PGA_FORMAT_MATCHER = (1 << 0), /* Détection et chargement */ - PGA_DISASSEMBLE = (1 << 1), /* Désassemblage (non trivial) */ + PGA_DISASSEMBLE = (1 << 1), /* Désassemblage (non trivial) */ - PGA_DISASS_PROCESS = (1 << 2), /* Traitement niveau assembleur*/ - PGA_CODE_PROCESS = (1 << 3), /* Traitement du code existant */ + 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_PRINTED = (1 << 5), /* Instructions imprimées */ - PGA_DEBUGGER_ATTACH = (1 << 4), /* Activation d'un débogueur */ - PGA_DEBUGGER_DETACH = (1 << 5) /* Désactivation d'un débogueur*/ + 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; +/* 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); |