diff options
Diffstat (limited to 'src/arch/processor-int.h')
-rw-r--r-- | src/arch/processor-int.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/processor-int.h b/src/arch/processor-int.h index c8263f7..23a6d60 100644 --- a/src/arch/processor-int.h +++ b/src/arch/processor-int.h @@ -55,6 +55,9 @@ 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 *); +/* Désassemble une instruction dans un flux de données. */ +typedef GArchInstruction * (* disass_instr_fc) (const GArchProcessor *, GProcContext *, const bin_t *, vmpa2t *, phys_t); + /* Définition générique d'un processeur d'architecture (instance) */ struct _GArchProcessor @@ -82,6 +85,7 @@ struct _GArchProcessorClass GObjectClass parent; /* A laisser en premier */ decode_instruction_fc decode; /* Traduction en instructions */ + disass_instr_fc disassemble; /* Traduction en instructions */ }; |