summaryrefslogtreecommitdiff
path: root/src/pal/src/loader/tizenasanenvmodule.h
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/loader/tizenasanenvmodule.h
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/loader/tizenasanenvmodule.h')
-rw-r--r--src/pal/src/loader/tizenasanenvmodule.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pal/src/loader/tizenasanenvmodule.h b/src/pal/src/loader/tizenasanenvmodule.h
new file mode 100644
index 0000000000..094fa5ad46
--- /dev/null
+++ b/src/pal/src/loader/tizenasanenvmodule.h
@@ -0,0 +1,8 @@
+#ifndef TIZENASANENVMODULE_H_
+#define TIZENASANENVMODULE_H_
+
+#include <pal_mstypes.h>
+
+BOOL is_module_sanitized(void *handle);
+
+#endif // TIZENASANENVMODULE_H_