summaryrefslogtreecommitdiff
path: root/src/arch/artificial.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/artificial.c')
-rw-r--r--src/arch/artificial.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/arch/artificial.c b/src/arch/artificial.c
index d718a8c..6783579 100644
--- a/src/arch/artificial.c
+++ b/src/arch/artificial.c
@@ -56,6 +56,10 @@ static void g_db_instruction_init(GDbInstruction *);
/* Traduit une instruction en version humainement lisible. */
static const char *g_db_instruction_get_text(const GDbInstruction *, const exe_format *, AsmSyntax);
+/* Informe sur une éventuelle référence à une autre instruction. */
+static InstructionLinkType g_db_instruction_get_link(const GDbInstruction *, vmpa_t *);
+
+
/* ---------------------------------------------------------------------------------- */
/* INSTRUCTION INCONNUE / DONNEES */
@@ -103,6 +107,7 @@ static void g_db_instruction_init(GDbInstruction *instr)
parent = G_ARCH_INSTRUCTION(instr);
parent->get_text = (get_instruction_text_fc)g_db_instruction_get_text;
+ parent->get_link = (get_instruction_link_fc)g_db_instruction_get_link;
}
@@ -166,3 +171,23 @@ static const char *g_db_instruction_get_text(const GDbInstruction *instr, const
return "db";
}
+
+
+/******************************************************************************
+* *
+* Paramètres : instr = instruction à consulter. *
+* addr = eventuelle adresse associée à faire connaître. [OUT] *
+* *
+* Description : Informe sur une éventuelle référence à une autre instruction.*
+* *
+* Retour : Type de lien trouvé ou ILT_NONE si aucun. *
+* *
+* Remarques : - *
+* *
+******************************************************************************/
+
+static InstructionLinkType g_db_instruction_get_link(const GDbInstruction *instr, vmpa_t *addr)
+{
+ return ILT_NONE;
+
+}