diff options
author | Andrey Drobyshev <a.drobyshev@samsung.com> | 2019-07-16 15:23:18 +0300 |
---|---|---|
committer | Gleb Balykov <g.balykov@samsung.com> | 2020-03-25 15:29:41 +0300 |
commit | e191c349605f44747b01f00331ca34eca923b953 (patch) | |
tree | 092bd4dc1421a08f11c0066c1812248857280664 /src/pal/inc/pal.h | |
parent | 24f9e9515bfbe4520d11cd0741724647c23a943b (diff) | |
download | coreclr-e191c349605f44747b01f00331ca34eca923b953.tar.gz coreclr-e191c349605f44747b01f00331ca34eca923b953.tar.bz2 coreclr-e191c349605f44747b01f00331ca34eca923b953.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/inc/pal.h')
-rw-r--r-- | src/pal/inc/pal.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pal/inc/pal.h b/src/pal/inc/pal.h index 08a35c8f62..abb25e889f 100644 --- a/src/pal/inc/pal.h +++ b/src/pal/inc/pal.h @@ -2678,6 +2678,14 @@ PAL_GetProcAddressDirect( IN NATIVE_LIBRARY_HANDLE dl_handle, IN LPCSTR lpProcName); +#ifdef TIZEN_ASAN_ENVIRONMENT +PALIMPORT +BOOL +PALAPI +PAL_IsSanitizedLibraryDirect( + IN NATIVE_LIBRARY_HANDLE dl_handle); +#endif + /*++ Function: PAL_LOADLoadPEFile |