gcc/ * asan.c (asan_emit_stack_protection): Don't pass local stack to asan_stack_malloc_[n] anymore. Check if asan_stack_malloc_[n] returned NULL and use local stack than. (asan_finish_file): Insert __asan_version_mismatch_check_v[n] call in addition to __asan_init. * sanitizer.def (BUILT_IN_ASAN_INIT): Rename to __asan_init. (BUILT_IN_ASAN_VERSION_MISMATCH_CHECK): Add new builtin call. * asan.h (asan_intercepted_p): Handle new string builtins. * ubsan.c (ubsan_use_new_style_p): New function. (ubsan_instrument_float_cast): If location is unknown, assign input_location to loc. Propagate loc to ubsan_create_data if ubsan_use_new_style_p returned true. config/ * bootstrap-asan.mk: Replace ASAN_OPTIONS=detect_leaks with LSAN_OPTIONS=detect_leaks. gcc/testsuite/ * c-c++-common/ubsan/float-cast-overflow-10.c: Adjust test. * c-c++-common/ubsan/float-cast-overflow-8.c: Likewise. * c-c++-common/ubsan/float-cast-overflow-9.c: Likewise. * g++.dg/asan/default-options-1.C: Likewise. From-SVN: r229112
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| asan.exp | Loading commit data... | |
| asan_globals_test-wrapper.cc | Loading commit data... | |
| asan_globals_test.cc | Loading commit data... | |
| asan_mem_test.cc | Loading commit data... | |
| asan_oob_test.cc | Loading commit data... | |
| asan_str_test.cc | Loading commit data... | |
| asan_test.C | Loading commit data... | |
| asan_test.cc | Loading commit data... | |
| asan_test_config.h | Loading commit data... | |
| asan_test_utils.h | Loading commit data... | |
| deep-stack-uaf-1.C | Loading commit data... | |
| deep-tail-call-1.C | Loading commit data... | |
| deep-thread-stack-1.C | Loading commit data... | |
| default-options-1.C | Loading commit data... | |
| dejagnu-gtest.h | Loading commit data... | |
| dlclose-test-1-so.cc | Loading commit data... | |
| interception-failure-test-1.C | Loading commit data... | |
| interception-malloc-test-1.C | Loading commit data... | |
| interception-test-1.C | Loading commit data... | |
| large-func-test-1.C | Loading commit data... | |
| pr55617.C | Loading commit data... | |
| pr62017.C | Loading commit data... | |
| pr64937.C | Loading commit data... | |
| pr65004.C | Loading commit data... | |
| sanitizer_pthread_wrappers.h | Loading commit data... | |
| sanitizer_test_config.h | Loading commit data... | |
| sanitizer_test_utils.h | Loading commit data... | |
| shared-lib-test-1-so.cc | Loading commit data... |