summaryrefslogtreecommitdiff
path: root/plugins/libcsem
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-07-12 01:57:23 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-07-12 01:57:23 (GMT)
commitba1d7ae3ae3c82ab2c3d23a900c16baff6f8ca26 (patch)
tree04a1d3fb7a7e8c9d2dffd91576bcd0d051ae3750 /plugins/libcsem
parent2be3bca7ff0f8ab40615fdbf72c149cd6439b0ac (diff)
Defined AIF_RETURN_POINT to replace the previous 'return' accessors.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@546 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'plugins/libcsem')
-rw-r--r--plugins/libcsem/exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/libcsem/exit.c b/plugins/libcsem/exit.c
index fbe0923..1bb4edd 100644
--- a/plugins/libcsem/exit.c
+++ b/plugins/libcsem/exit.c
@@ -74,7 +74,7 @@ static void mark_one_kind_of_exit_as_return(const GLoadedBinary *binary, const c
{
if (types[i] != ILT_CALL) continue;
- g_arch_instruction_define_as_return(sources[i], true);
+ g_arch_instruction_set_flag(sources[i], AIF_RETURN_POINT);
}