llvm-project/compiler-rt/lib/ubsan
Vedant Kumar f7e804157e [ubsan] Fix a faulty memory accessibility check
The dynamic type check needs to inspect vtables, but could crash if it
encounters a vtable pointer to inaccessible memory. In the first attempt
to fix the issue (r304437), we performed a memory accessibility check on
the wrong range of memory. This should *really* fix the problem.

Patch by Max Moroz!

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

llvm-svn: 305489
2017-06-15 18:23:16 +00:00
..
CMakeLists.txt [Ubsan]Remove unused link libraries. 2017-05-17 19:37:27 +00:00
ubsan.syms.extra
ubsan_checks.inc [ubsan] Runtime support for pointer overflow checking 2017-06-01 19:40:59 +00:00
ubsan_diag.cc [ubsan] Fall back to the fast unwinder when print_stacktrace=1 2017-05-01 21:41:01 +00:00
ubsan_diag.h [UBSan] Implement runtime suppressions (PR25066). 2015-12-18 19:56:42 +00:00
ubsan_diag_standalone.cc [ubsan] Implement __sanitizer_print_stack_trace for standalone UBSan runtime. 2017-05-05 09:02:28 +00:00
ubsan_flags.cc Let ubsan search UBSAN_SYMBOLIZER_PATH for llvm-symbolizer 2017-04-19 14:03:40 +00:00
ubsan_flags.h [UBSan] Embed UBSan into ASan runtime (compiler-rt part). 2015-04-01 22:42:36 +00:00
ubsan_flags.inc [UBSan] Add the ability to print more precise error kind in summary line. 2015-08-24 23:18:49 +00:00
ubsan_handlers.cc [ubsan] Detect invalid unsigned pointer index expression (compiler-rt) 2017-06-12 18:42:51 +00:00
ubsan_handlers.h [ubsan] Runtime support for pointer overflow checking 2017-06-01 19:40:59 +00:00
ubsan_handlers_cxx.cc UBSan: crash less often on corrupted Vtables. 2016-06-02 18:36:12 +00:00
ubsan_handlers_cxx.h [cfi] Cross-DSO CFI diagnostic mode (compiler-rt part) 2016-01-25 23:34:38 +00:00
ubsan_init.cc [ubsan] Use the correct tool name in diagnostics 2017-04-14 18:24:35 +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] Add missing header that defines SANITIZER_CAN_USE_PREINIT_ARRAY 2015-05-11 21:06:49 +00:00
ubsan_interface.inc [ubsan] Runtime support for pointer overflow checking 2017-06-01 19:40:59 +00:00
ubsan_platform.h [sanitizer] [SystemZ] Enable UBSan. 2016-04-15 22:25:04 +00:00
ubsan_type_hash.cc CFI: Get check-cfi passing on Windows. 2015-07-08 22:10:34 +00:00
ubsan_type_hash.h UBSan: crash less often on corrupted Vtables. 2016-06-02 18:36:12 +00:00
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: Simplify logic for locating the RTTI object. 2015-07-08 23:22:39 +00:00
ubsan_value.cc Fix bad regression from r263077 when building with MSVC. 2016-03-12 01:57:31 +00:00
ubsan_value.h [UBSan] Explicitly list all supported OS/arch pairs supported by UBSan. 2015-03-26 17:26:04 +00:00
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