#
57626625 |
|
05-Jun-2017 |
Roland McGrath <mcgrathr@google.com> |
[ulib][musl][asan] Sanitizer support in memcpy, memmove, memset Mark the C implementations of memcpy, memmove, memset with NO_ASAN. These functions will have sanitizing wrappers provided by the sanitizer runtime library. Export aliases __unsanitized_memcpy, __unsanitized_memmove, and __unsanitized_memset that the sanitizer runtime code can call directly. In the ASan build, Define weak aliases __asan_memcpy, __asan_memmove, and __asan_memset that will satisfy references generated by the compiler without the sanitizer runtime library. Change-Id: I0a192b9f6c623e71300422ffac86d785303b11d3
|