diff options
Diffstat (limited to 'src/arch/instruction.h')
-rw-r--r-- | src/arch/instruction.h | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/src/arch/instruction.h b/src/arch/instruction.h index 2df38af..08f459f 100644 --- a/src/arch/instruction.h +++ b/src/arch/instruction.h @@ -25,19 +25,6 @@ #define _ARCH_INSTRUCTION_H -#include <stdint.h> -#include <sys/types.h> - - - -/* Définition générique d'une instruction */ -typedef struct _asm_instr asm_instr; - - - - - - #include <glib-object.h> #include <sys/types.h> @@ -89,6 +76,9 @@ void g_arch_instruction_get_location(GArchInstruction *, off_t *, off_t *, vmpa_ /* Attache une seule opérande à une instruction. */ void g_arch_instruction_attach_one_operand(GArchInstruction *, GArchOperand *); +/* Attache deux opérandes à une instruction. */ +void g_arch_instruction_attach_two_operands(GArchInstruction *, GArchOperand *, GArchOperand *); + /* Traduit une instruction en version humainement lisible. */ char *g_arch_instruction_get_text(const GArchInstruction *, const exe_format *, AsmSyntax); |