summaryrefslogtreecommitdiff
path: root/src/arch/operand.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/operand.h')
-rw-r--r--src/arch/operand.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/arch/operand.h b/src/arch/operand.h
index ca9f3c8..36fc231 100644
--- a/src/arch/operand.h
+++ b/src/arch/operand.h
@@ -32,6 +32,10 @@
+/* Depuis "../analysis/binary.h" : description de fichier binaire */
+typedef struct _GLoadedBinary GLoadedBinary;
+
+
#define G_TYPE_ARCH_OPERAND g_arch_operand_get_type()
#define G_ARCH_OPERAND(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), g_arch_operand_get_type(), GArchOperand))
#define G_IS_ARCH_OPERAND(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), g_arch_operand_get_type()))
@@ -59,6 +63,9 @@ void g_arch_operand_set_alt_text(GArchOperand *, const char *, RenderingTagType)
/* Traduit un opérande en version humainement lisible. */
void g_arch_operand_print(const GArchOperand *, GBufferLine *, AsmSyntax);
+/* Construit un petit résumé concis de l'opérande. */
+char *g_arch_operand_build_tooltip(const GArchOperand *, const GLoadedBinary *);
+
#endif /* _ARCH_OPERAND_H */