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.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.h')
-rw-r--r-- | src/arch/instruction.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/instruction.h b/src/arch/instruction.h index a4e26d4..ae0bd68 100644 --- a/src/arch/instruction.h +++ b/src/arch/instruction.h @@ -32,6 +32,7 @@ #include "archbase.h" #include "operand.h" +#include "register.h" #include "../decomp/context.h" #include "../decomp/instruction.h" #include "../format/executable.h" @@ -89,6 +90,9 @@ void g_arch_instruction_replace_operand(GArchInstruction *, GArchOperand *, cons /* Détache un opérande liée d'une instruction. */ void g_arch_instruction_detach_operand(GArchInstruction *, GArchOperand *); +/* Liste les registres lus et écrits par l'instruction. */ +void g_arch_instruction_get_rw_registers(const GArchInstruction *, GArchRegister ***, size_t *, GArchRegister ***, size_t *); + /* ------------------- DEFINITION DES LIAISONS ENTRE INSTRUCTIONS ------------------- */ |