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.c63
1 files changed, 0 insertions, 63 deletions
diff --git a/src/format/pe/pe.c b/src/format/pe/pe.c
index 39560ce..239f52a 100644
--- a/src/format/pe/pe.c
+++ b/src/format/pe/pe.c
@@ -45,12 +45,6 @@ static const char *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 *);
-/* Fournit la position correspondant à une adresse virtuelle. */
-static bool g_pe_format_translate_address_into_offset(const GPeFormat *, vmpa_t, off_t *);
-
-/* Fournit l'adresse virtuelle correspondant à une position. */
-static bool g_pe_format_translate_offset_into_address(const GPeFormat *, off_t, vmpa_t *);
-
/******************************************************************************
@@ -130,14 +124,6 @@ static void g_pe_format_class_init(GPeFormatClass *klass)
static void g_pe_format_init(GPeFormat *format)
{
- GExeFormat *exe_format; /* Format parent à constituer */
-
- exe_format = G_EXE_FORMAT(format);
-
- exe_format->get_machine = (get_target_machine_fc)g_pe_format_get_target_machine;
-
- 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;
}
@@ -286,52 +272,3 @@ static GBinPart **g_pe_format_get_parts(const GPeFormat *format, size_t *count)
}
#endif
-
-/******************************************************************************
-* *
-* Paramètres : format = description de l'exécutable à consulter. *
-* addr = adresse virtuelle à retrouver. *
-* pos = position correspondante. [OUT] *
-* *
-* Description : Fournit la position correspondant à une adresse virtuelle. *
-* *
-* Retour : Bilan de l'opération. *
-* *
-* Remarques : - *
-* *
-******************************************************************************/
-
-static bool g_pe_format_translate_address_into_offset(const GPeFormat *format, vmpa_t addr, off_t *pos)
-{
- bool result; /* Bilan à retourner */
-
- result = false;
-
- return result;
-
-}
-
-
-/******************************************************************************
-* *
-* Paramètres : format = description de l'exécutable à consulter. *
-* pos = position dans le flux binaire à retrouver. *
-* addr = adresse virtuelle correspondante. [OUT] *
-* *
-* Description : Fournit l'adresse virtuelle correspondant à une position. *
-* *
-* Retour : Bilan de l'opération. *
-* *
-* Remarques : - *
-* *
-******************************************************************************/
-
-static bool g_pe_format_translate_offset_into_address(const GPeFormat *format, off_t pos, vmpa_t *addr)
-{
- bool result; /* Bilan à retourner */
-
- result = false;
-
- return result;
-
-}