summaryrefslogtreecommitdiff
path: root/src/format/format.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2010-11-11 01:22:43 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2010-11-11 01:22:43 (GMT)
commitb33a52031c0d44a79604bc8d9036c30bffd020cb (patch)
treec825e3330684ca57f7c423328cd116b2d6ec0f6a /src/format/format.h
parent828124e38d266e382bb1477ef51c9fac8e81c591 (diff)
Built some expressions for the decompilation tree.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@190 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
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 *);