diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2012-07-29 21:41:52 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2012-07-29 21:41:52 (GMT) |
commit | 8e1f2335773a9025cd46d45a33261725707af3ba (patch) | |
tree | 6001a1095985514bbde3c8ec49b4dd5d32182fc8 /src/arch/processor-int.h | |
parent | 8b35a66464636d0c46237af7490a6ca6866ecc4d (diff) |
Updated all decompiled instructions using right pseudo registers.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@253 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/processor-int.h')
-rw-r--r-- | src/arch/processor-int.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/arch/processor-int.h b/src/arch/processor-int.h index f83ff49..d1f83d4 100644 --- a/src/arch/processor-int.h +++ b/src/arch/processor-int.h @@ -49,6 +49,9 @@ /* Fournit un contexte propre au processeur d'une architecture. */ typedef GProcContext * (* get_processor_context_fc) (const GArchProcessor *); +/* Fournit un contexte lié au processeur pour une décompilation. */ +typedef GDecContext * (* get_decomp_context_fc) (const GArchProcessor *); + /* Décode une instruction dans un flux de données. */ typedef GArchInstruction * (* decode_instruction_fc) (const GArchProcessor *, GProcContext *, const bin_t *, off_t *, off_t, vmpa_t, GBinFormat *); @@ -62,7 +65,8 @@ struct _GArchProcessor MemoryDataSize memsize; /* Taille de l'espace mémoire */ MemoryDataSize inssize; /* Taille min. d'encodage */ - get_processor_context_fc get_ctx; /* Obtention d'un contexte */ + get_processor_context_fc get_ctx; /* Obtention d'un contexte #1 */ + get_decomp_context_fc get_dec_ctx; /* Obtention d'un contexte #2 */ decode_instruction_fc decode; /* Traduction en instructions */ }; |