blob: 4a0f03949ca8cfdc3244439248788d5dfa96026d [file] [log] [blame]
Logan Chienb0c84022018-11-09 16:19:54 +08001[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*