diff options
author | Vitaly Buka <vitalybuka@google.com> | 2017-08-01 21:15:19 +0000 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2017-08-01 21:15:19 +0000 |
commit | c6c5f9c9c5579d6b5f38c0aa03cf5f135bf1ec1a (patch) | |
tree | 41a8c74dfda52f45459b1b26375f8d12c998b441 /lib/sanitizer_common/sanitizer_common_libcdep.cc | |
parent | ba0e4f947e27ade26d7c572e04daca89f3f309fc (diff) |
[sanitizer_common] Fuchsia support for interceptors
Summary:
Actually Fuchsia non-support for interceptors. Fuchsia doesn't use
interceptors in the common sense at all. Almost all system library
functions don't need interception at all, because the system
libraries are just themselves compiled with sanitizers enabled and
have specific hook interfaces where needed to inform the sanitizer
runtime about thread lifetimes and the like. For the few functions
that do get intercepted, they don't use a generic mechanism like
dlsym with RTLD_NEXT to find the underlying system library function.
Instead, they use specific extra symbol names published by the
system library (e.g. __unsanitized_memcpy).
Submitted on behalf of Roland McGrath.
Reviewers: vitalybuka, alekseyshl, kcc, filcab
Reviewed By: filcab
Subscribers: kubamracek, phosek, filcab, llvm-commits
Tags: #sanitizers
Differential Revision: https://reviews.llvm.org/D36028
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@309745 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_common_libcdep.cc')
0 files changed, 0 insertions, 0 deletions