summaryrefslogtreecommitdiff
path: root/plugins/stackvars
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-05-14 19:19:11 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-05-14 19:19:11 (GMT)
commitcb36603eb37330ab6c956095c1ce175acb751e03 (patch)
treee20d2e60c8947fddd34db543e41fa4287fc0db29 /plugins/stackvars
parent198ba09ef74a02a727ac3e679edfa328b2508152 (diff)
Begun to clean the symbol interface.
Diffstat (limited to 'plugins/stackvars')
-rw-r--r--plugins/stackvars/stackvars.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/stackvars/stackvars.c b/plugins/stackvars/stackvars.c
index 4e07035..ce9d539 100644
--- a/plugins/stackvars/stackvars.c
+++ b/plugins/stackvars/stackvars.c
@@ -110,7 +110,8 @@ G_MODULE_EXPORT bool execute_action_on_binary(GLoadedBinary *binary, PluginActio
lines = g_loaded_binary_get_lines(binary);
format = g_loaded_binary_get_format(binary);
- routines = g_binary_format_get_routines(G_BIN_FORMAT(format), &routines_count);
+ routines = NULL;//g_binary_format_get_routines(G_BIN_FORMAT(format), &routines_count);
+ routines_count = 0; //
for (i = 0; i < routines_count; i++)
result |= replace_stack_vars_in_routine(routines[i], lines);