llvm-project/compiler-rt/lib/ubsan
Stephan Bergmann 703478ae6e -fsanitize=vptr warnings on bad static types in dynamic_cast and typeid
...when such an operation is done on an object during con-/destruction.

(This adds a test case to compiler-rt/test/ubsan/TestCases/TypeCheck/vptr.cpp
that, unlike the existing test cases there, wants to detect multiple UBSan
warnings in one go. Therefore, that file had to be changed from globally using
-fno-sanitize-recover to individually using halt_on_error only where
appropriate.)

This is the compiler-rt part of a patch covering both cfe and compiler-rt.

Differential Revision: https://reviews.llvm.org/D40295

llvm-svn: 321518
2017-12-28 12:45:23 +00:00
..
CMakeLists.txt ubsan: Allow programs to use setenv to configure ubsan_standalone. 2017-11-09 02:22:07 +00:00
ubsan.syms.extra
ubsan_checks.inc [ubsan] Diagnose invalid uses of builtins (compiler-rt) 2017-07-29 00:20:02 +00:00
ubsan_diag.cc [sanitizers] Rename GetStackTraceWithPcBpAndContext 2017-11-09 07:53:06 +00:00
ubsan_diag.h [sanitizers] Rename GetStackTraceWithPcBpAndContext 2017-11-09 07:53:06 +00:00
ubsan_diag_standalone.cc [ubsan] Make ubsan version of __sanitizer_print_stack_trace consistent with other sanitizers 2017-09-11 21:25:22 +00:00
ubsan_flags.cc ubsan: Allow programs to use setenv to configure ubsan_standalone. 2017-11-09 02:22:07 +00:00
ubsan_flags.h
ubsan_flags.inc
ubsan_handlers.cc -fsanitize=vptr warnings on bad static types in dynamic_cast and typeid 2017-12-28 12:45:23 +00:00
ubsan_handlers.h Revert r320977 "No -fsanitize=function warning when calling noexcept function through non-noexcept pointer in C++17" 2017-12-18 13:51:46 +00:00
ubsan_handlers_cxx.cc ubsan: Unbreak ubsan_cxx runtime library on Windows. 2017-09-15 20:24:12 +00:00
ubsan_handlers_cxx.h
ubsan_init.cc [ubsan] Split ubsan_init_standalone 2017-09-21 00:35:22 +00:00
ubsan_init.h [ubsan] Use the correct tool name in diagnostics 2017-04-14 18:24:35 +00:00
ubsan_init_standalone.cc [ubsan] Support signal specific options in ubsan 2017-09-23 02:47:11 +00:00
ubsan_interface.inc [ubsan] Fix interface_symbols_windows test 2017-09-18 18:46:19 +00:00
ubsan_platform.h [Sanitizers] Basic sanitizer Solaris support (PR 33274) 2017-12-14 20:14:29 +00:00
ubsan_signals_standalone.cc [sanitizers] Rename GetStackTraceWithPcBpAndContext 2017-11-09 07:53:06 +00:00
ubsan_signals_standalone.h [ubsan] Support signal specific options in ubsan 2017-09-23 02:47:11 +00:00
ubsan_type_hash.cc
ubsan_type_hash.h
ubsan_type_hash_itanium.cc [ubsan] Fix a faulty memory accessibility check 2017-06-15 18:23:16 +00:00
ubsan_type_hash_win.cc
ubsan_value.cc
ubsan_value.h
ubsan_win_dll_thunk.cc [sanitizer] Intercept weak functions in dll_thunks. 2017-02-02 23:01:34 +00:00
ubsan_win_dynamic_runtime_thunk.cc [sanitizer] Add dynamic_runtime_thunk for different sanitizers. 2017-02-02 23:01:41 +00:00
ubsan_win_weak_interception.cc [sanitizer] Use interception to access to strong definitions in the executable. 2017-02-02 23:02:11 +00:00
weak_symbols.txt Enable weak hooks on darwin 2017-01-09 03:51:42 +00:00