[Tizen] Implement ASan wrapper for Linux ARM32
authorVyacheslav Cherkashin <v.cherkashin@samsung.com>
Wed, 16 Jun 2021 13:19:36 +0000 (16:19 +0300)
committerGleb Balykov <g.balykov@samsung.com>
Wed, 8 Dec 2021 16:14:52 +0000 (19:14 +0300)
commit9f322113039233f281f7f87fb3320ffe03913a98
tree0d097a0a09ded28bc5288dd2029e68c93ad48ff3
parentbbbb4d02e9920da79969ef37089d70fd2b11e1cc
[Tizen] Implement ASan wrapper for Linux ARM32

This commit implements wrappers that allow interception transitions
from managed to external unmanaged code (CIL -> native) and back
(native -> CIL). This allows enable/disable ASan during transitions.
Due to this, we sanitize only external code, which allows us to
achieve acceptable performance.

Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
src/coreclr/vm/CMakeLists.txt
src/coreclr/vm/arm/stubs.cpp
src/coreclr/vm/arm/tizenasanenv.S [new file with mode: 0644]
src/coreclr/vm/dllimport.cpp
src/coreclr/vm/tizenasanenv.cpp [new file with mode: 0644]
src/coreclr/vm/tizenasanenv.h [new file with mode: 0644]