summaryrefslogtreecommitdiff
path: root/src/arch/instruction.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.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.h')
-rw-r--r--src/arch/instruction.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/instruction.h b/src/arch/instruction.h
index b8be830..c0cb9f6 100644
--- a/src/arch/instruction.h
+++ b/src/arch/instruction.h
@@ -25,6 +25,7 @@
#define _ARCH_INSTRUCTION_H
+#include <stdbool.h>
#include <glib-object.h>
#include <sys/types.h>
@@ -90,6 +91,9 @@ char *g_arch_instruction_get_text(const GArchInstruction *, const exe_format *,
/* Informe sur une éventuelle référence à une autre instruction. */
InstructionLinkType g_arch_instruction_get_link(const GArchInstruction *, vmpa_t *);
+/* Indique si l'instruction correspond à un retour de fonction. */
+bool g_arch_instruction_is_return(const GArchInstruction *instr);
+
#endif /* _ARCH_INSTRUCTION_H */