diff options
Diffstat (limited to 'plugins/androhelpers/androhelpers.c')
-rw-r--r-- | plugins/androhelpers/androhelpers.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/plugins/androhelpers/androhelpers.c b/plugins/androhelpers/androhelpers.c index a644868..95714fd 100644 --- a/plugins/androhelpers/androhelpers.c +++ b/plugins/androhelpers/androhelpers.c @@ -27,6 +27,7 @@ #include <string.h> +#include "params.h" #include "try_n_catch.h" @@ -66,7 +67,7 @@ PluginAction get_plugin_action(const GPluginModule *plugin) { PluginAction result; /* Combinaison à retourner */ - result = PGA_DISASS_PROCESS; + result = PGA_BINARY_DISASSEMBLED | PGA_BINARY_PRINTED; return result; @@ -93,7 +94,11 @@ bool execute_action_on_binary(GPluginModule *plugin, GLoadedBinary *binary, Plug result = true; - result &= process_exception_handlers(binary); + if (action == PGA_BINARY_DISASSEMBLED) + result &= replace_parameters(binary); + + else if (action == PGA_BINARY_PRINTED) + result &= process_exception_handlers(binary); return result; |