summaryrefslogtreecommitdiff
path: root/src/arch/x86/operand.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-06-16 22:46:35 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-06-16 22:46:35 (GMT)
commit23c7cd436e2ec980a68e6d12a6d8a750e357763c (patch)
tree0c27434a3ab3946e9b4766ae8ebe28ab399d9d84 /src/arch/x86/operand.h
parentdf1f4c4e1a5bb929f4345b1273d16558c0ba77de (diff)
Made links between lines of code (x86 only).
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@79 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/x86/operand.h')
-rw-r--r--src/arch/x86/operand.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/x86/operand.h b/src/arch/x86/operand.h
index 1139fe2..9f4db09 100644
--- a/src/arch/x86/operand.h
+++ b/src/arch/x86/operand.h
@@ -28,6 +28,7 @@
#include <stdbool.h>
+#include "../immediate.h"
#include "../instruction.h"
@@ -129,6 +130,9 @@ GType g_x86_relative_operand_get_type(void);
/* Crée un opérande X86 d'adresse relative. */
GArchOperand *g_x86_relative_operand_new(const bin_t *, off_t *, off_t, AsmOperandSize, vmpa_t);
+/* Fournit l'adresse relative représentée par une opérande X86. */
+const GImmOperand *g_x86_relative_operand_get_value(const GX86RelativeOperand *);
+
/* ------------------------ OPERANDES D'EMPLACEMENTS MEMOIRE ------------------------ */