diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2015-03-31 23:20:33 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2015-03-31 23:20:33 (GMT) |
commit | 5cc7bd39ae41af40a0c939acf98f90bf1375effd (patch) | |
tree | 4f7140e2c5a8d939c672fb941e66903300229e82 /src/arch/processor-int.h | |
parent | 52e036040b5e0ad8acde3d467ac8d9ca43ed414c (diff) |
Saved some progress in the definition of basic blocks.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@497 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
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 */ + }; |