aboutsummaryrefslogtreecommitdiff
path: root/lib/cfi/cfi_blacklist.txt
blob: 1f0eeb3556176d4a38eeefd8c615d3a9a4ca7341 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Standard library types.
type:std::*

# The stdext namespace contains Microsoft standard library extensions.
type:stdext::*

# Types with a uuid attribute, i.e. COM types.
type:attr:uuid

# STL allocators (T *allocator<T *>::allocate(size_type, const void*)).
# The type signature mandates a cast from uninitialized void* to T*.
# size_type can either be unsigned int (j) or unsigned long (m).
fun:*8allocateEjPKv
fun:*8allocateEmPKv

# std::get_temporary_buffer, likewise (libstdc++, libc++).
fun:_ZSt20get_temporary_buffer*
fun:_ZNSt3__120get_temporary_buffer*

# STL address-of magic (libstdc++, libc++).
fun:*__addressof*
fun:_ZNSt3__19addressof*

# Windows C++ stdlib headers that contain bad unrelated casts.
src:*xmemory0
src:*xstddef