summaryrefslogtreecommitdiff
path: root/src/format/pe/pe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/pe/pe.c')
-rw-r--r--src/format/pe/pe.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/format/pe/pe.c b/src/format/pe/pe.c
index 2692560..16a9032 100644
--- a/src/format/pe/pe.c
+++ b/src/format/pe/pe.c
@@ -43,7 +43,7 @@ static void g_pe_format_init(GPeFormat *);
static FormatTargetMachine g_pe_format_get_target_machine(const GPeFormat *);
/* Fournit les références aux zones binaires à analyser. */
-static GBinPart **g_pe_format_get_parts(const GPeFormat *, size_t *);
+//static GBinPart **g_pe_format_get_parts(const GPeFormat *, size_t *);
/* Fournit la position correspondant à une adresse virtuelle. */
static bool g_pe_format_translate_address_into_offset(const GPeFormat *, vmpa_t, off_t *);
@@ -137,7 +137,6 @@ static void g_pe_format_init(GPeFormat *format)
exe_format = G_EXE_FORMAT(format);
exe_format->get_machine = (get_target_machine_fc)g_pe_format_get_target_machine;
- exe_format->get_parts = (get_parts_fc)g_pe_format_get_parts;
exe_format->translate_addr = (translate_addr_fc)g_pe_format_translate_address_into_offset;
exe_format->translate_off = (translate_off_fc)g_pe_format_translate_offset_into_address;
@@ -263,7 +262,7 @@ static FormatTargetMachine g_pe_format_get_target_machine(const GPeFormat *forma
* Remarques : - *
* *
******************************************************************************/
-
+#if 0
static GBinPart **g_pe_format_get_parts(const GPeFormat *format, size_t *count)
{
GBinPart **result; /* Tableau à retourner */
@@ -311,7 +310,7 @@ static GBinPart **g_pe_format_get_parts(const GPeFormat *format, size_t *count)
return result;
}
-
+#endif
/******************************************************************************
* *