forked from OSchip/llvm-project
e988af9073
Summary: Currently, sanitizer_common_interceptors.inc has an implicit, undocumented assumption that the sanitizer including it has previously declared interceptors for memset and memmove. Since the memset, memmove, and memcpy routines require interception by many sanitizers, we add them to the set of common interceptions, both to address the undocumented assumption and to speed future tool development. They are intercepted under a new flag intercept_intrin. The tsan interceptors are removed in favor of the new common versions. The asan and msan interceptors for these are more complex (they incur extra interception steps and their function bodies are exposed to the compiler) so they opt out of the common versions and keep their own. Reviewers: vitalybuka Subscribers: zhaoqin, llvm-commits, kcc Differential Revision: http://reviews.llvm.org/D18465 llvm-svn: 264451 |
||
---|---|---|
.. | ||
tests | ||
.clang-format | ||
CMakeLists.txt | ||
msan.cc | ||
msan.h | ||
msan.syms.extra | ||
msan_allocator.cc | ||
msan_allocator.h | ||
msan_blacklist.txt | ||
msan_chained_origin_depot.cc | ||
msan_chained_origin_depot.h | ||
msan_flags.h | ||
msan_flags.inc | ||
msan_interceptors.cc | ||
msan_interface_internal.h | ||
msan_linux.cc | ||
msan_new_delete.cc | ||
msan_origin.h | ||
msan_poisoning.cc | ||
msan_poisoning.h | ||
msan_report.cc | ||
msan_thread.cc | ||
msan_thread.h |