summaryrefslogtreecommitdiff
path: root/plugins/readelf/reader.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-03-28 01:00:33 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-03-28 01:00:33 (GMT)
commit057cee1c3c109639af8f30e39e00f4884a353f31 (patch)
tree563972accde653fd562305424cb1983617bc0b4c /plugins/readelf/reader.h
parenta6bedf6104ccd7d8050e9d6a58f32c0827e3383c (diff)
Provided readelf features as an external plugin.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@495 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'plugins/readelf/reader.h')
-rw-r--r--plugins/readelf/reader.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/plugins/readelf/reader.h b/plugins/readelf/reader.h
new file mode 100644
index 0000000..fe997b6
--- /dev/null
+++ b/plugins/readelf/reader.h
@@ -0,0 +1,39 @@
+
+/* Chrysalide - Outil d'analyse de fichiers binaires
+ * reader.h - prototypes pour l'interprétation des informations secondaires contenues dans un fichier ELF
+ *
+ * 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_READELF_READER_H
+#define _PLUGINS_READELF_READER_H
+
+
+#include <format/elf/elf.h>
+#include <plugins/plugin.h>
+#include <plugins/plugin-int.h>
+
+
+
+/* Etablit des symboles complémentaires dans un format ELF. */
+G_MODULE_EXPORT bool handle_binary_format(const GPluginModule *, PluginAction, GElfFormat *);
+
+
+
+#endif /* _PLUGINS_READELF_READER_H */