summaryrefslogtreecommitdiff
path: root/src/format/format.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/format.c')
-rw-r--r--src/format/format.c80
1 files changed, 0 insertions, 80 deletions
diff --git a/src/format/format.c b/src/format/format.c
index 18b3b07..ac6b215 100644
--- a/src/format/format.c
+++ b/src/format/format.c
@@ -1363,86 +1363,6 @@ bool g_binary_format_resolve_symbol(GBinFormat *format, const vmpa2t *addr, bool
}
-/******************************************************************************
-* *
-* Paramètres : format = informations chargées à consulter. *
-* count = taille de la liste retournée. [OUT] *
-* defsrc = fichier de code principal. [OUT] *
-* *
-* Description : Fournit la liste des fichiers source détectés. *
-* *
-* Retour : Liste de noms de fichier ou NULL si aucun. *
-* *
-* Remarques : - *
-* *
-******************************************************************************/
-
-const char * const *g_binary_format_get_source_files(const GBinFormat *format, size_t *count, size_t *defsrc)
-{
- *count = format->src_count;
- *defsrc = format->def_source;
-
- return format->src_files;
-
-}
-
-
-/******************************************************************************
-* *
-* Paramètres : format = informations chargées à consulter. *
-* buffer = tampon mis à disposition pour la sortie. *
-* filename = nom du fichier source à cibler. *
-* *
-* Description : Procède à la décompilation complète du format. *
-* *
-* Retour : - *
-* *
-* Remarques : - *
-* *
-******************************************************************************/
-#if 0
-void g_binary_format_decompile(const GBinFormat *format, GCodeBuffer *buffer, const char *filename)
-{
-
-
- GBinRoutine **routines;
- size_t count;
-
- size_t i;
-
- GDecInstruction *instr;
-
- if (format->decompile != NULL)
- format->decompile(format, buffer, filename);
-
-
- routines = g_binary_format_get_routines(format, &count);
-
-
-
- for (i = 0; i < count; i++)
- {
- //printf(" -- %s --\n", g_binary_routine_get_name(routines[i]));
-
- //if (strcmp("cryptself", g_binary_routine_get_name(routines[i])) == 0)
- {
- instr = g_binary_routine_get_decomp_instructions(routines[i]);
-
- if (instr == NULL) continue;
-
- //g_dec_instruction_print(instr, buffer, NULL, g_java_output_new());
-
-
-
- }
-
-
- }
-
-}
-#endif
-
-
/* ---------------------------------------------------------------------------------- */
/* CONSERVATION DES SOUCIS DURANT LE CHARGEMENT */