diff options
Diffstat (limited to 'src/decomp/context.h')
-rw-r--r-- | src/decomp/context.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/decomp/context.h b/src/decomp/context.h index 94b3270..d1b1ac9 100644 --- a/src/decomp/context.h +++ b/src/decomp/context.h @@ -31,6 +31,7 @@ #include "instruction.h" #include "../arch/archbase.h" #include "../format/executable.h" +#include "../analysis/blocks/raccess.h" /** @@ -74,6 +75,21 @@ void g_dec_context_set_info(GDecContext *, GBinRoutine *, GExeFormat *); /* Fournit le format binaire associé au contexte. */ GExeFormat *g_dec_context_get_format(const GDecContext *); +/* Définit la liste des registrés utilisés dans plusieurs blocs. */ +void g_dec_context_set_awaited(GDecContext *, GRAccessList *); + +/* Fournit la liste des registrés utilisés dans plusieurs blocs. */ +const GRAccessList *g_dec_context_get_awaited(const GDecContext *); + +/* Définit la liste des registrés déjà alloués et attendus. */ +void g_dec_context_set_shared_allocs(GDecContext *, GHashTable *); + +/* Fournit la liste des registrés déjà alloués et attendus. */ +GHashTable *g_dec_context_get_shared_allocs(const GDecContext *); + +/* Propage les registres alloués et attendus par la suite. */ +void g_dec_context_spread_allocated_shared_regs(GDecContext *, GDecContext *); + /* Fournit le premier élément de la liste des instructions. */ GDecInstruction *g_dec_context_get_decomp_instrs(const GDecContext *tx); @@ -81,7 +97,7 @@ GDecInstruction *g_dec_context_get_decomp_instrs(const GDecContext *tx); void g_dec_context_set_decomp_instrs(GDecContext *, GDecInstruction *); /* Convertit un registre machine en un pseudo-registre. */ -GDecInstruction *g_dec_context_convert_register(GDecContext *, gpointer, bool); +GDecInstruction *g_dec_context_convert_register(GDecContext *, gpointer, bool, vmpa_t); |