xref: /freebsd/contrib/llvm-project/compiler-rt/lib/cfi/cfi_ignorelist.txt (revision fe6060f10f634930ff71b7c50291ddc610da2475)
1[cfi-unrelated-cast]
2# The specification of std::get_temporary_buffer mandates a cast to
3# uninitialized T* (libstdc++, MSVC stdlib).
4fun:_ZSt20get_temporary_buffer*
5fun:*get_temporary_buffer@.*@std@@*
6
7# STL address-of magic (libstdc++).
8fun:*__addressof*
9
10# Windows C++ stdlib headers that contain bad unrelated casts.
11src:*xmemory0
12src:*xstddef
13
14# std::_Sp_counted_ptr_inplace::_Sp_counted_ptr_inplace() (libstdc++).
15# This ctor is used by std::make_shared and needs to cast to uninitialized T*
16# in order to call std::allocator_traits<T>::construct.
17fun:_ZNSt23_Sp_counted_ptr_inplace*
18