[Tizen] Enable ASan annotation of passing to native code buffers
authorAndrey Kazmin <a.kazmin@partner.samsung.com>
Wed, 16 Jun 2021 13:49:18 +0000 (16:49 +0300)
committerGleb Balykov <g.balykov@samsung.com>
Tue, 27 Sep 2022 12:50:22 +0000 (15:50 +0300)
commit26d87cb755de0f518f9582c6e4b627992946433a
treed8f97789e27346813f48805a4862bf1f2b5d389b
parent19d2d657d1746c13febe1567d36c733da1f15018
[Tizen] Enable ASan annotation of passing to native code buffers

Turn on ASan inteceptors while marshaling managed buffers to native code.
We could not properly annotate already allocated on heap buffers, so
we have to disable pinning of such objects.
Current patch affects only pinning of native arrays.

Signed-off-by: Slava Barinov <v.barinov@samsung.com>
src/coreclr/palrt/comem.cpp
src/coreclr/vm/ilmarshalers.cpp