diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2012-12-04 20:28:35 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2012-12-04 20:28:35 (GMT) |
commit | 6c67ffbb6c8a8dfb7120a0dab82dadbbf8112e88 (patch) | |
tree | 98b5195a053d7de292f2caced14e3ecda5ec32a5 /src/arch/instruction-int.h | |
parent | f95598b68b98f6eda701f8f02bc09cb13f65fc72 (diff) |
Listed accesses to registers.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@294 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/instruction-int.h')
-rw-r--r-- | src/arch/instruction-int.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/instruction-int.h b/src/arch/instruction-int.h index c89a51b..af72a87 100644 --- a/src/arch/instruction-int.h +++ b/src/arch/instruction-int.h @@ -32,6 +32,9 @@ +/* Liste les registres lus et écrits par l'instruction. */ +typedef void (* get_instruction_rw_regs_fc) (const GArchInstruction *, GArchRegister ***, size_t *, GArchRegister ***, size_t *); + /* Ajoute à un tampon GLib le contenu de l'instance spécifiée. */ typedef void (* print_instruction_fc) (const GArchInstruction *, GCodeBuffer *, MemoryDataSize, const bin_t *, AsmSyntax); @@ -66,6 +69,7 @@ struct _GArchInstruction InstructionLinkType *links_type; /* Type des liens de dest. */ size_t to_count; /* Nombre de ces destinations */ + get_instruction_rw_regs_fc get_rw_regs; /* Liste des registres liés */ print_instruction_fc print; /* Imprime l'ensemble */ get_instruction_text_fc get_text; /* Texte humain équivalent */ get_instruction_link_fc get_link; /* Référence à une instruction */ |