[Tizen] Implement detecting of sanitized libraries
authorAndrey Drobyshev <a.drobyshev@samsung.com>
Tue, 16 Jul 2019 12:23:18 +0000 (15:23 +0300)
committerGleb Balykov <g.balykov@samsung.com>
Wed, 25 Mar 2020 12:29:41 +0000 (15:29 +0300)
commite191c349605f44747b01f00331ca34eca923b953
tree092bd4dc1421a08f11c0066c1812248857280664
parent24f9e9515bfbe4520d11cd0741724647c23a943b
[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]