[Tizen] Implement detecting of sanitized libraries
authorAndrey Drobyshev <a.drobyshev@samsung.com>
Tue, 16 Jul 2019 12:23:18 +0000 (15:23 +0300)
committer이형주/Common Platform Lab(SR)/Staff Engineer/삼성전자 <leee.lee@samsung.com>
Thu, 10 Oct 2019 23:34:37 +0000 (08:34 +0900)
commit864c0382fe4f332b1fb4a1e6bbea81dd1172cdfc
treeba0b30120156dfc7358f0d3621e67ec703ce93d1
parent2204ea2f1c1332912c1374d7cc7347d5f9e67868
[Tizen] Implement detecting of sanitized libraries

Parse ".dynamic" section (ELF dynamic array tags) of the module being
added, find ".rel(a).plt" section and search it for presence of
'__asan_init' symbol.

Change-Id: Ie7cc4c818b791b5f00713b42ba15131325b8152c
Signed-off-by: Andrey Drobyshev <a.drobyshev@samsung.com>
src/pal/inc/pal.h
src/pal/src/CMakeLists.txt
src/pal/src/loader/module.cpp
src/pal/src/loader/tizenasanenvmodule.cpp [new file with mode: 0644]
src/pal/src/loader/tizenasanenvmodule.h [new file with mode: 0644]