summaryrefslogtreecommitdiff
path: root/src/arch/x86/instruction.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/instruction.h')
-rw-r--r--src/arch/x86/instruction.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/x86/instruction.h b/src/arch/x86/instruction.h
index 2f59c46..d3b68c9 100644
--- a/src/arch/x86/instruction.h
+++ b/src/arch/x86/instruction.h
@@ -276,6 +276,9 @@ GType g_x86_instruction_get_type(void);
/* Crée une instruction pour l'architecture x86. */
GArchInstruction *g_x86_instruction_new(X86Opcodes);
+/* Fournit l'identifiant de l'opcode représenté. */
+X86Opcodes g_x86_instruction_get_opcode(const GX86Instruction *);
+
/* Attache à une instructions ses préfixes associés. */
void g_x86_instruction_set_prefixes(GX86Instruction *, X86Prefix);