diff options
Diffstat (limited to 'src/arch/processor-int.h')
-rw-r--r-- | src/arch/processor-int.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/arch/processor-int.h b/src/arch/processor-int.h index 2b91b36..d387bde 100644 --- a/src/arch/processor-int.h +++ b/src/arch/processor-int.h @@ -43,6 +43,9 @@ +/* Taille des pré-allocations pour les instructions */ +#define INSTR_ALLOC_BLOCK 100 + /* Fournit un contexte propre au processeur d'une architecture. */ @@ -70,6 +73,10 @@ struct _GArchProcessor get_processor_context_fc get_ctx; /* Obtention d'un contexte #1 */ get_decomp_context_fc get_dec_ctx; /* Obtention d'un contexte #2 */ + GArchInstruction **instructions; /* Instructions désassemblées */ + size_t instr_allocated; /* Taille de la liste allouée */ + size_t instr_count; /* Taille de la liste aplatie */ + }; |