summaryrefslogtreecommitdiff
path: root/src/format/pe
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-02-03 23:21:49 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-02-03 23:21:49 (GMT)
commit425860b441b21e4aca7bf2473be26b0fe1e756e2 (patch)
tree341a0fc8b370d76566f3e332c344ffae5c065916 /src/format/pe
parent5511e355e7810f06bd610b79bcc94402c88d7ec9 (diff)
Removed all references to binary parts (GBinPart) and updated the code.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@465 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/format/pe')
-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
/******************************************************************************
* *