summaryrefslogtreecommitdiff
path: root/utils/sanitizers/ubsan_blacklist.txt
blob: b5bbfddceef6dcf6232a9d35204cd98c742c09f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# This blacklist should be applied when LLVM is built
# with -fsanitize=undefined instrumentation. It exists
# because libstdc++ has some undefined behavior issues
# in some of the headers, in particular, stl_tree.h.

# upcast of address with insufficient space for an object of type std::_Rb_tree_node<...>
src:*bits/stl_tree.h

# libstdc++ 4.8 creates a null reference when calling
# data() on an empty vector: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59829
src:*bits/stl_iterator.h
src:*bits/stl_vector.h