[Tizen] Implement detecting of sanitized libraries
authorAndrey Drobyshev <a.drobyshev@samsung.com>
Mon, 21 Jun 2021 07:10:17 +0000 (10:10 +0300)
committerGleb Balykov <g.balykov@samsung.com>
Tue, 27 Sep 2022 12:50:22 +0000 (15:50 +0300)
commit94c3b5b1f5c8e1487b8e488d315eca1942810244
tree4f24f8412908ba5558088a7ef867bbbadc05142e
parent2434411bee9f3f716a50b32dcf25041e72591386
[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.

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