summaryrefslogtreecommitdiff
path: root/src/pal/src/CMakeLists.txt
diff options
context:
space:
mode:
authorAndrey Drobyshev <a.drobyshev@samsung.com>2019-07-16 15:23:18 +0300
committer이형주/Common Platform Lab(SR)/Staff Engineer/삼성전자 <leee.lee@samsung.com>2019-10-11 08:34:37 +0900
commit864c0382fe4f332b1fb4a1e6bbea81dd1172cdfc (patch)
treeba0b30120156dfc7358f0d3621e67ec703ce93d1 /src/pal/src/CMakeLists.txt
parent2204ea2f1c1332912c1374d7cc7347d5f9e67868 (diff)
downloadcoreclr-864c0382fe4f332b1fb4a1e6bbea81dd1172cdfc.tar.gz
coreclr-864c0382fe4f332b1fb4a1e6bbea81dd1172cdfc.tar.bz2
coreclr-864c0382fe4f332b1fb4a1e6bbea81dd1172cdfc.zip
[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>
Diffstat (limited to 'src/pal/src/CMakeLists.txt')
-rw-r--r--src/pal/src/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pal/src/CMakeLists.txt b/src/pal/src/CMakeLists.txt
index 3e2cee898c..3bc1dc89a0 100644
--- a/src/pal/src/CMakeLists.txt
+++ b/src/pal/src/CMakeLists.txt
@@ -286,6 +286,12 @@ set(SOURCES
thread/tls.cpp
)
+if (TIZEN_ASAN_ENVIRONMENT)
+ list(APPEND SOURCES
+ loader/tizenasanenvmodule.cpp
+ )
+endif()
+
if(NOT CLR_CMAKE_USE_SYSTEM_LIBUNWIND)
set(LIBUNWIND_OBJECTS $<TARGET_OBJECTS:libunwind>)
endif(NOT CLR_CMAKE_USE_SYSTEM_LIBUNWIND)