summaryrefslogtreecommitdiff
path: root/src/arch/instruction-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-07-18 15:41:02 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-07-18 15:41:02 (GMT)
commit3a9fe39c6a8923f45e7c96d80b0bfe52b8686ff9 (patch)
tree30c3bfa3df145a74d3237513b9eb6dc5559d32be /src/arch/instruction-int.h
parent10105a5f877fd2c6d1e67343956269f1b19a5133 (diff)
Computed the end of routines with no limit.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@98 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/instruction-int.h')
-rw-r--r--src/arch/instruction-int.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/instruction-int.h b/src/arch/instruction-int.h
index 6ae0597..db6a3bf 100644
--- a/src/arch/instruction-int.h
+++ b/src/arch/instruction-int.h
@@ -36,6 +36,9 @@ typedef const char * (* get_instruction_text_fc) (const GArchInstruction *, cons
/* Informe sur une éventuelle référence à une autre instruction. */
typedef InstructionLinkType (* get_instruction_link_fc) (const GArchInstruction *, vmpa_t *);
+/* Indique si l'instruction correspond à un retour de fonction. */
+typedef bool (* is_instruction_return_fc) (const GArchInstruction *);
+
/* Définition générique d'une instruction d'architecture (instance) */
struct _GArchInstruction
@@ -52,6 +55,7 @@ struct _GArchInstruction
get_instruction_text_fc get_text; /* Texte humain équivalent */
get_instruction_link_fc get_link; /* Référence à une instruction */
+ is_instruction_return_fc is_return; /* Retour de fonction ou pas ? */
};