summaryrefslogtreecommitdiff
path: root/plugins/readelf
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/readelf')
-rw-r--r--plugins/readelf/reader.c7
-rw-r--r--plugins/readelf/reader.h2
2 files changed, 5 insertions, 4 deletions
diff --git a/plugins/readelf/reader.c b/plugins/readelf/reader.c
index 53463e9..0c87660 100644
--- a/plugins/readelf/reader.c
+++ b/plugins/readelf/reader.c
@@ -25,7 +25,7 @@
#include <plugins/elf/format.h>
-#include <plugins/plugin-def.h>
+#include <plugins/self.h>
#include "header.h"
@@ -35,7 +35,8 @@
-DEFINE_CHRYSALIDE_PLUGIN("GElfReaderPlugin", "readelf", "Displays information about ELF files", "0.2.0",
+DEFINE_CHRYSALIDE_PLUGIN("ElfReader", "Information about ELF files",
+ PACKAGE_VERSION, CHRYSALIDE_WEBSITE(""),
NO_REQ, AL(PGA_FORMAT_PRELOAD));
@@ -55,7 +56,7 @@ DEFINE_CHRYSALIDE_PLUGIN("GElfReaderPlugin", "readelf", "Displays information ab
* *
******************************************************************************/
-G_MODULE_EXPORT bool preload_binary_format(const GPluginModule *plugin, PluginAction action, GBinFormat *format, GPreloadInfo *info, GtkStatusStack *status)
+G_MODULE_EXPORT bool chrysalide_plugin_preload_binary_format(const GPluginModule *plugin, PluginAction action, GBinFormat *format, GPreloadInfo *info, GtkStatusStack *status)
{
bool result; /* Bilan à retourner */
GElfFormat *elf_fmt; /* Version ELF */
diff --git a/plugins/readelf/reader.h b/plugins/readelf/reader.h
index 440df67..8c280a4 100644
--- a/plugins/readelf/reader.h
+++ b/plugins/readelf/reader.h
@@ -31,7 +31,7 @@
/* Etablit des symboles complémentaires dans un format ELF. */
-G_MODULE_EXPORT bool preload_binary_format(const GPluginModule *, PluginAction, GBinFormat *, GPreloadInfo *, GtkStatusStack *);
+G_MODULE_EXPORT bool chrysalide_plugin_preload_binary_format(const GPluginModule *, PluginAction, GBinFormat *, GPreloadInfo *, GtkStatusStack *);