summaryrefslogtreecommitdiff
path: root/src/format/format.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/format/format.h')
-rw-r--r--src/format/format.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/format/format.h b/src/format/format.h
index 0223525..073fae3 100644
--- a/src/format/format.h
+++ b/src/format/format.h
@@ -32,7 +32,7 @@
#include "symbol.h"
#include "../analysis/routine.h"
-
+#include "../decomp/instruction.h"
/* ------------------------ TRAITEMENT INDIVIDUEL DE FORMATS ------------------------ */
@@ -70,6 +70,12 @@ void g_binary_format_add_routine(GBinFormat *, GBinRoutine *);
/* Fournit le prototype de toutes les routines détectées. */
GBinRoutine **g_binary_format_get_routines(const GBinFormat *, size_t *);
+/* Procède à la décompilation basique d'une routine donnée. */
+GDecInstruction *g_binary_format_decompile_routine(const GBinFormat *, GBinRoutine *);
+
+/* Procède à la décompilation complète du format. */
+void g_binary_format_decompile(const GBinFormat *, GCodeBuffer *);
+
/* Recherche le symbole correspondant à une adresse. */
bool g_binary_format_resolve_symbol(const GBinFormat *, const char **, SymbolType *, vmpa_t *);