llvm-project/compiler-rt/lib/ubsan
Dan Liew da820f4f57 Add missing call to `__sanitizer::InitializePlatformEarly()` in UBSan's standalone init.
Summary:
While working on rdar://problem/62083617 I noticed this call was
missing.

This is a no-op for all platforms except Darwin. For Darwin this
means the `use_xnu_fast_mmap` flag is initialized as it was intended
when using UBSan in standalone mode.

Reviewers: vitalybuka, vsk, kubamracek, yln, samsonov

Subscribers: #sanitizers, llvm-commits

Tags: #sanitizers

Differential Revision: https://reviews.llvm.org/D78532
2020-04-21 18:43:43 -07:00
..
CMakeLists.txt Fix Solaris build of ubsan. 2020-04-21 12:06:30 -07:00
ubsan.syms.extra
ubsan_checks.inc [ubsan] Add support for -fsanitize=nullability-* suppressions 2020-02-28 14:30:40 -08:00
ubsan_diag.cpp Remove NOLINTs from compiler-rt 2019-09-11 23:19:48 +00:00
ubsan_diag.h [NFC][Sanitizer] Pull up GetStackTrace into sanitizer_common 2019-02-27 22:16:02 +00:00
ubsan_diag_standalone.cpp compiler-rt: Rename .cc files in lib/ubsan to .cpp. 2019-07-31 17:51:05 +00:00
ubsan_flags.cpp [UBSan] Do not overwrite the default print_summary sanitizer option. 2019-09-09 19:30:48 +00:00
ubsan_flags.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ubsan_flags.inc Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ubsan_handlers.cpp [ubsan] Add support for -fsanitize=nullability-* suppressions 2020-02-28 14:30:40 -08:00
ubsan_handlers.h Adapt -fsanitize=function to SANITIZER_NON_UNIQUE_TYPEINFO 2019-05-02 06:40:33 +00:00
ubsan_handlers_cxx.cpp compiler-rt: Rename .cc files in lib/ubsan to .cpp. 2019-07-31 17:51:05 +00:00
ubsan_handlers_cxx.h Finish "Adapt -fsanitize=function to SANITIZER_NON_UNIQUE_TYPEINFO" 2019-07-16 06:23:27 +00:00
ubsan_init.cpp Add missing call to `__sanitizer::InitializePlatformEarly()` in UBSan's standalone init. 2020-04-21 18:43:43 -07:00
ubsan_init.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ubsan_init_standalone.cpp compiler-rt: Rename .cc files in lib/ubsan to .cpp. 2019-07-31 17:51:05 +00:00
ubsan_init_standalone_preinit.cpp compiler-rt: Rename .cc files in lib/ubsan to .cpp. 2019-07-31 17:51:05 +00:00
ubsan_interface.inc Finish "Adapt -fsanitize=function to SANITIZER_NON_UNIQUE_TYPEINFO" 2019-07-16 06:23:27 +00:00
ubsan_monitor.cpp compiler-rt: Rename .cc files in lib/ubsan to .cpp. 2019-07-31 17:51:05 +00:00
ubsan_monitor.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ubsan_platform.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ubsan_signals_standalone.cpp [compiler-rt] Use GetNextInstructionPc in signal handlers 2019-10-02 21:20:37 +00:00
ubsan_signals_standalone.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ubsan_type_hash.cpp Remove a few straggler ".cc"s in compiler-rt/lib 2019-08-01 17:53:25 +00:00
ubsan_type_hash.h Adapt -fsanitize=function to SANITIZER_NON_UNIQUE_TYPEINFO 2019-05-02 06:40:33 +00:00
ubsan_type_hash_itanium.cpp [UBSan] Fix vptr checks on arm64e 2020-04-16 16:09:05 -07:00
ubsan_type_hash_win.cpp compiler-rt: Rename .cc files in lib/ubsan to .cpp. 2019-07-31 17:51:05 +00:00
ubsan_value.cpp compiler-rt: Rename .cc files in lib/ubsan to .cpp. 2019-07-31 17:51:05 +00:00
ubsan_value.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ubsan_win_dll_thunk.cpp compiler-rt: Rename .cc files in lib/ubsan to .cpp. 2019-07-31 17:51:05 +00:00
ubsan_win_dynamic_runtime_thunk.cpp compiler-rt: Rename .cc files in lib/ubsan to .cpp. 2019-07-31 17:51:05 +00:00
ubsan_win_weak_interception.cpp compiler-rt: Rename .cc files in lib/ubsan to .cpp. 2019-07-31 17:51:05 +00:00
weak_symbols.txt Enable weak hooks on darwin 2017-01-09 03:51:42 +00:00