summaryrefslogtreecommitdiff
path: root/src/decomp/context-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2013-01-14 22:08:00 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2013-01-14 22:08:00 (GMT)
commit2ab78407e9f73b6508afc281400a7c3fc018217f (patch)
tree437054ef874e9536e15b9254a6a8c4c2396604ff /src/decomp/context-int.h
parent35a6cd881528b5f77ce09476eccb39d02d9cc634 (diff)
Cleaned the context used for decompilations.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@324 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/decomp/context-int.h')
-rw-r--r--src/decomp/context-int.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/decomp/context-int.h b/src/decomp/context-int.h
index 2be4218..8139077 100644
--- a/src/decomp/context-int.h
+++ b/src/decomp/context-int.h
@@ -28,6 +28,7 @@
#include "context.h"
+#include "../analysis/routine.h"
#include "../glibext/gnhash.h"
@@ -41,18 +42,13 @@ struct _GDecContext
{
GObject parent; /* A laisser en premier */
- vmpa_t max; /* Première adresse à écarter */
+ GExeFormat *format; /* Format binaire concerné */
+ GBinRoutine *routine; /* Routine visée par l'opérat° */
GDecInstruction *list; /* Chaîne décompilée */
convert_register_fc convert_reg; /* Traduction des registres */
- GHashTable *machine; /* Correspondance reg./pseudo */
- GHashTable *ssa; /* Remplacement des pseudos */
-
- GDecInstruction **pseudos; /* Liste des pseudos-registre */
- size_t count; /* Taille de cette liste */
-
};