summaryrefslogtreecommitdiff
path: root/plugins/pe/section.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/pe/section.h')
-rw-r--r--plugins/pe/section.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/plugins/pe/section.h b/plugins/pe/section.h
new file mode 100644
index 0000000..e7c399b
--- /dev/null
+++ b/plugins/pe/section.h
@@ -0,0 +1,38 @@
+
+/* Chrysalide - Outil d'analyse de fichiers binaires
+ * section.h - prototypes pour la gestion des sections d'un PE
+ *
+ * Copyright (C) 2010-2017 Cyrille Bagard
+ *
+ * This file is part of Chrysalide.
+ *
+ * Chrysalide 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.
+ *
+ * Chrysalide 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 Chrysalide. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+
+#ifndef _FORMAT_PE_SECTION_H
+#define _FORMAT_PE_SECTION_H
+
+
+#include "pe.h"
+#include "pe_def.h"
+
+
+
+/* Recherche une section donnée au sein de binaire par indice. */
+bool find_pe_section_by_index(const GPeFormat *, uint16_t, image_section_header *);
+
+
+
+#endif /* _FORMAT_PE_SECTION_H */