[IMPROVE] Add orig_ret_addr restore condition 54/33654/2
authorVasiliy Ulyanov <v.ulyanov@samsung.com>
Wed, 4 Jun 2014 08:16:33 +0000 (12:16 +0400)
committerAlexander Aksenov <a.aksenov@samsung.com>
Tue, 24 Feb 2015 08:18:31 +0000 (11:18 +0300)
commit699b1413f46c359f8b2c9cf8dd591d446881b65c
treee3fe1ece233b979416927b3e0df8cb24f03fde86
parent53219c8d66c0f7e20b752e5099c897895733251a
[IMPROVE] Add orig_ret_addr restore condition

In some situations there is no need to restore the original return
address because all the related actions are performed inside the handler
(e.g. preload implementation)

Change-Id: I4d917cdd7201039002d56e7780a7c5701327c16d
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
uprobe/swap_uprobes.c