diff options
Diffstat (limited to 'plugins/devdbg/speed.h')
-rw-r--r-- | plugins/devdbg/speed.h | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/plugins/devdbg/speed.h b/plugins/devdbg/speed.h new file mode 100644 index 0000000..bad7ba5 --- /dev/null +++ b/plugins/devdbg/speed.h @@ -0,0 +1,63 @@ + +/* Chrysalide - Outil d'analyse de fichiers binaires + * speed.h - prototypes pour la mesure de temps d'exécution internes + * + * Copyright (C) 2015 Cyrille Bagard + * + * This file is part of Chrysalide. + * + * OpenIDA is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * OpenIDA is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Foobar. If not, see <http://www.gnu.org/licenses/>. + */ + + +#ifndef _PLUGINS_DEVDBG_SPEED_H +#define _PLUGINS_DEVDBG_SPEED_H + + +#include <gmodule.h> + +#include <analysis/binary.h> +#include <plugins/plugin.h> +#include <plugins/plugin-def.h> + + + + +/* Exécute une action pendant un désassemblage de binaire. */ +G_MODULE_EXPORT void process_binary_disassembly(const GPluginModule *, PluginAction , GLoadedBinary *); + + + + + +#if 0 +#include <glib-object.h> +#include <gmodule.h> +#include <stdbool.h> + + + + +/* Initialise le greffon pour les bornes de routine. */ +G_MODULE_EXPORT bool init_plugin(GObject *); + +/* Fournit une indication sur le type d'opération(s) menée(s). */ +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(GLoadedBinary *, PluginAction); +#endif + + +#endif /* _PLUGINS_DEVDBG_SPEED_H */ |