diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-05-11 00:58:05 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-05-11 00:58:05 (GMT) |
commit | 46bcc7f122245f22772fd3e38d16e6afa7bd5881 (patch) | |
tree | d3c2ba1a9999e373428954f24d0e60c1ea63b756 /plugins/mobicore | |
parent | 1bda6c517d30d873ff0d92a96380946ef944c9ae (diff) |
Provided a way to look for ROP gadgets in binary code.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@533 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'plugins/mobicore')
-rw-r--r-- | plugins/mobicore/mobicore.c | 6 | ||||
-rw-r--r-- | plugins/mobicore/mobicore.h | 4 |
2 files changed, 6 insertions, 4 deletions
diff --git a/plugins/mobicore/mobicore.c b/plugins/mobicore/mobicore.c index 9f7b8a4..15bc0a1 100644 --- a/plugins/mobicore/mobicore.c +++ b/plugins/mobicore/mobicore.c @@ -40,6 +40,7 @@ DEFINE_CHRYSALIDE_ACTIVE_PLUGIN("Mobicore", "Support MobiCore file format for Tr /****************************************************************************** * * * Paramètres : plugin = greffon à manipuler. * +* ref = espace de référencement global. * * * * Description : Prend acte du chargement du greffon. * * * @@ -49,7 +50,7 @@ DEFINE_CHRYSALIDE_ACTIVE_PLUGIN("Mobicore", "Support MobiCore file format for Tr * * ******************************************************************************/ -G_MODULE_EXPORT bool chrysalide_plugin_init(GPluginModule *plugin) +G_MODULE_EXPORT bool chrysalide_plugin_init(GPluginModule *plugin, GObject *ref) { bool result; /* Bilan à retourner */ @@ -65,6 +66,7 @@ G_MODULE_EXPORT bool chrysalide_plugin_init(GPluginModule *plugin) /****************************************************************************** * * * Paramètres : plugin = greffon à manipuler. * +* ref = espace de référencement global. * * * * Description : Prend acte du déchargement du greffon. * * * @@ -74,7 +76,7 @@ G_MODULE_EXPORT bool chrysalide_plugin_init(GPluginModule *plugin) * * ******************************************************************************/ -G_MODULE_EXPORT void chrysalide_plugin_exit(GPluginModule *plugin) +G_MODULE_EXPORT void chrysalide_plugin_exit(GPluginModule *plugin, GObject *ref) { printf("Unloaded !\n"); diff --git a/plugins/mobicore/mobicore.h b/plugins/mobicore/mobicore.h index d8687a1..ea0cd15 100644 --- a/plugins/mobicore/mobicore.h +++ b/plugins/mobicore/mobicore.h @@ -31,10 +31,10 @@ /* Prend acte du chargement du greffon. */ -G_MODULE_EXPORT bool chrysalide_plugin_init(GPluginModule *); +G_MODULE_EXPORT bool chrysalide_plugin_init(GPluginModule *, GObject *); /* Prend acte du déchargement du greffon. */ -G_MODULE_EXPORT void chrysalide_plugin_exit(GPluginModule *); +G_MODULE_EXPORT void chrysalide_plugin_exit(GPluginModule *, GObject *); |