diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2009-07-18 15:41:02 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2009-07-18 15:41:02 (GMT) |
commit | 3a9fe39c6a8923f45e7c96d80b0bfe52b8686ff9 (patch) | |
tree | 30c3bfa3df145a74d3237513b9eb6dc5559d32be /src/arch/instruction.c | |
parent | 10105a5f877fd2c6d1e67343956269f1b19a5133 (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.c')
-rw-r--r-- | src/arch/instruction.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/arch/instruction.c b/src/arch/instruction.c index 69644dc..e0cea9f 100644 --- a/src/arch/instruction.c +++ b/src/arch/instruction.c @@ -321,3 +321,22 @@ InstructionLinkType g_arch_instruction_get_link(const GArchInstruction *instr, v return instr->get_link(instr, addr); } + + +/****************************************************************************** +* * +* Paramètres : instr = instruction à consulter. * +* * +* Description : Indique si l'instruction correspond à un retour de fonction. * +* * +* Retour : true si l'instruction est un 'return' quelconque ou false. * +* * +* Remarques : - * +* * +******************************************************************************/ + +bool g_arch_instruction_is_return(const GArchInstruction *instr) +{ + return instr->is_return(instr); + +} |