summaryrefslogtreecommitdiff
path: root/plugins/androhelpers/androhelpers.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-12-08 16:46:49 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-12-08 16:46:49 (GMT)
commit4dd8356e19b9e58990b2f3e0c4110aa2fe9642d1 (patch)
tree26ede3d87b05f0baeb915066cb01eee60a83f2e3 /plugins/androhelpers/androhelpers.c
parent2a7e284702a9cf3cfd060fe50e7ef96621633aa4 (diff)
Cut instructions flow into blocks (to be continued).
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@297 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'plugins/androhelpers/androhelpers.c')
-rw-r--r--plugins/androhelpers/androhelpers.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/androhelpers/androhelpers.c b/plugins/androhelpers/androhelpers.c
index 95714fd..f7360f8 100644
--- a/plugins/androhelpers/androhelpers.c
+++ b/plugins/androhelpers/androhelpers.c
@@ -67,7 +67,7 @@ PluginAction get_plugin_action(const GPluginModule *plugin)
{
PluginAction result; /* Combinaison à retourner */
- result = PGA_BINARY_DISASSEMBLED | PGA_BINARY_PRINTED;
+ result = PGA_BINARY_DISASSEMBLED | PGA_BINARY_LINKED | PGA_BINARY_PRINTED;
return result;
@@ -97,8 +97,11 @@ bool execute_action_on_binary(GPluginModule *plugin, GLoadedBinary *binary, Plug
if (action == PGA_BINARY_DISASSEMBLED)
result &= replace_parameters(binary);
+ else if (action == PGA_BINARY_LINKED)
+ result &= process_exception_handlers(binary, true);
+
else if (action == PGA_BINARY_PRINTED)
- result &= process_exception_handlers(binary);
+ result &= process_exception_handlers(binary, false);
return result;