summaryrefslogtreecommitdiff
path: root/plugins/stackvars
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/stackvars')
-rw-r--r--plugins/stackvars/stackvars.c6
-rw-r--r--plugins/stackvars/stackvars.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/stackvars/stackvars.c b/plugins/stackvars/stackvars.c
index 5f34119..9a7b965 100644
--- a/plugins/stackvars/stackvars.c
+++ b/plugins/stackvars/stackvars.c
@@ -96,7 +96,7 @@ G_MODULE_EXPORT PluginAction get_plugin_action(void)
* *
******************************************************************************/
-G_MODULE_EXPORT bool execute_action_on_binary(openida_binary *binary, PluginAction action)
+G_MODULE_EXPORT bool execute_action_on_binary(GOpenidaBinary *binary, PluginAction action)
{
bool result; /* Bilan à retourner */
GRenderingLine *lines; /* Lignes de rendu */
@@ -109,9 +109,9 @@ G_MODULE_EXPORT bool execute_action_on_binary(openida_binary *binary, PluginActi
printf(" ------------- exec stackvars !!!\n");
- lines = get_openida_binary_lines(binary);
+ lines = g_openida_binary_get_lines(binary);
- format = get_openida_binary_format(binary);
+ format = g_openida_binary_get_format(binary);
routines = get_all_exe_routines(format, &routines_count);
for (i = 0; i < routines_count; i++)
diff --git a/plugins/stackvars/stackvars.h b/plugins/stackvars/stackvars.h
index ef7e548..fdd48b5 100644
--- a/plugins/stackvars/stackvars.h
+++ b/plugins/stackvars/stackvars.h
@@ -42,7 +42,7 @@ G_MODULE_EXPORT bool init_plugin(GObject *);
G_MODULE_EXPORT PluginAction get_plugin_action(void);
/* Exécute une action définie sur un binaire chargé. */
-G_MODULE_EXPORT bool execute_action_on_binary(openida_binary *, PluginAction);
+G_MODULE_EXPORT bool execute_action_on_binary(GOpenidaBinary *, PluginAction);