diff options
Diffstat (limited to 'src/plugins/plugin-def.h')
-rw-r--r-- | src/plugins/plugin-def.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/plugins/plugin-def.h b/src/plugins/plugin-def.h index 68167e2..44dd3fa 100644 --- a/src/plugins/plugin-def.h +++ b/src/plugins/plugin-def.h @@ -27,14 +27,15 @@ #include "../analysis/binary.h" -#include "../analysis/line.h" /* Action(s) menée(s) par le greffon */ typedef enum _PluginAction { - PGA_DISASSEMBLE = (1 << 0) /* Désassemblage (non trivial) */ + PGA_DISASSEMBLE = (1 << 0), /* Désassemblage (non trivial) */ + + PGA_CODE_PROCESS = (1 << 1) /* Traitement du code existant */ } PluginAction; @@ -45,10 +46,8 @@ typedef enum _PluginAction /* Fournit une indication sur le type d'opération(s) menée(s). */ typedef PluginAction (* get_plugin_action_fc) (void); - - -/* S'occupe du désassemblage (pur) de code binaire. */ -typedef GRenderingLine * (* disassemble_binary_parts_fc) (openida_binary *); +/* Exécute une action définie sur un binaire chargé. */ +typedef bool (* execute_action_on_binary_fc) (openida_binary *, PluginAction); |