eb47d8a2c8
This change adds UBSan check to upcasts. Namely, when we perform derived-to-base conversion, we: 1) check that the pointer-to-derived has suitable alignment and underlying storage, if this pointer is non-null. 2) if vptr-sanitizer is enabled, and we perform conversion to virtual base, we check that pointer-to-derived has a matching vptr. llvm-svn: 219642 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Makefile.mk | ||
ubsan.syms.extra | ||
ubsan_diag.cc | ||
ubsan_diag.h | ||
ubsan_flags.cc | ||
ubsan_flags.h | ||
ubsan_handlers.cc | ||
ubsan_handlers.h | ||
ubsan_handlers_cxx.cc | ||
ubsan_handlers_cxx.h | ||
ubsan_init.cc | ||
ubsan_init.h | ||
ubsan_type_hash.cc | ||
ubsan_type_hash.h | ||
ubsan_value.cc | ||
ubsan_value.h |