summaryrefslogtreecommitdiff
path: root/plugins/pe
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2024-11-24 10:03:34 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2024-11-24 10:03:34 (GMT)
commitd7aa3b671b83640006e00e853a439937c0c34dc0 (patch)
tree61020657a84397431459c541e4540834d4881bdf /plugins/pe
parent461f42dd8eb8b1932c11364d9d15367eeb294848 (diff)
Rename a few files.
Diffstat (limited to 'plugins/pe')
-rw-r--r--plugins/pe/Makefile.am4
-rw-r--r--plugins/pe/format-int.c (renamed from plugins/pe/pe-int.c)4
-rw-r--r--plugins/pe/format-int.h (renamed from plugins/pe/pe-int.h)9
-rw-r--r--plugins/pe/format.c4
-rw-r--r--plugins/pe/format.h4
-rw-r--r--plugins/pe/pe-def.h (renamed from plugins/pe/pe_def.h)0
-rw-r--r--plugins/pe/python/format.c2
7 files changed, 13 insertions, 14 deletions
diff --git a/plugins/pe/Makefile.am b/plugins/pe/Makefile.am
index fb04367..ddc4ee4 100644
--- a/plugins/pe/Makefile.am
+++ b/plugins/pe/Makefile.am
@@ -39,9 +39,9 @@ endif
libpe_la_SOURCES = \
core.h core.c \
- pe-int.h pe-int.c \
+ format-int.h format-int.c \
format.h format.c \
- pe_def.h
+ pe-def.h
# rich.h rich.c \
diff --git a/plugins/pe/pe-int.c b/plugins/pe/format-int.c
index 1c09929..2d1e6c8 100644
--- a/plugins/pe/pe-int.c
+++ b/plugins/pe/format-int.c
@@ -1,6 +1,6 @@
/* Chrysalide - Outil d'analyse de fichiers binaires
- * pe-int.c - structures internes du format Portable Executable
+ * format-int.c - structures internes du format Portable Executable
*
* Copyright (C) 2010-2017 Cyrille Bagard
*
@@ -21,7 +21,7 @@
*/
-#include "pe-int.h"
+#include "format-int.h"
#include <malloc.h>
diff --git a/plugins/pe/pe-int.h b/plugins/pe/format-int.h
index 262fe1f..0b5ad4b 100644
--- a/plugins/pe/pe-int.h
+++ b/plugins/pe/format-int.h
@@ -1,6 +1,6 @@
/* Chrysalide - Outil d'analyse de fichiers binaires
- * pe-int.h - prototypes pour les structures internes du format Portable Executable
+ * format-int.h - prototypes pour les structures internes du format Portable Executable
*
* Copyright (C) 2009-2017 Cyrille Bagard
*
@@ -21,14 +21,13 @@
*/
-#ifndef _PLUGINS_PE_PE_INT_H
-#define _PLUGINS_PE_PE_INT_H
+#ifndef _PLUGINS_PE_FORMAT_INT_H
+#define _PLUGINS_PE_FORMAT_INT_H
#include <format/executable-int.h>
-#include "pe_def.h"
#include "format.h"
@@ -83,4 +82,4 @@ bool read_pe_image_import_descriptor(const GPeFormat *, vmpa2t *, image_import_d
-#endif /* _PLUGINS_PE_PE_INT_H */
+#endif /* _PLUGINS_PE_FORMAT_INT_H */
diff --git a/plugins/pe/format.c b/plugins/pe/format.c
index 5ecfb18..ab9106d 100644
--- a/plugins/pe/format.c
+++ b/plugins/pe/format.c
@@ -1,6 +1,6 @@
/* Chrysalide - Outil d'analyse de fichiers binaires
- * pe.c - support du format Portable Executable
+ * format.c - support du format Portable Executable
*
* Copyright (C) 2010-2024 Cyrille Bagard
*
@@ -28,7 +28,7 @@
#include <string.h>
-#include "pe-int.h"
+#include "format-int.h"
//#include "rich.h"
//#include "symbols.h"
diff --git a/plugins/pe/format.h b/plugins/pe/format.h
index 5cc7c53..829f4de 100644
--- a/plugins/pe/format.h
+++ b/plugins/pe/format.h
@@ -1,6 +1,6 @@
/* Chrysalide - Outil d'analyse de fichiers binaires
- * pe.h - prototypes pour le support du format Portable Executable
+ * format.h - prototypes pour le support du format Portable Executable
*
* Copyright (C) 2010-2024 Cyrille Bagard
*
@@ -32,7 +32,7 @@
#include <glibext/helpers.h>
-#include "pe_def.h"
+#include "pe-def.h"
diff --git a/plugins/pe/pe_def.h b/plugins/pe/pe-def.h
index 4812897..4812897 100644
--- a/plugins/pe/pe_def.h
+++ b/plugins/pe/pe-def.h
diff --git a/plugins/pe/python/format.c b/plugins/pe/python/format.c
index 6c97c7d..1c64b7a 100644
--- a/plugins/pe/python/format.c
+++ b/plugins/pe/python/format.c
@@ -36,7 +36,7 @@
//#include "constants.h"
#include "translate.h"
-#include "../pe-int.h"
+#include "../format-int.h"
//#include "../rich.h"