aboutsummaryrefslogtreecommitdiff
path: root/lib/cfi/cfi_blocklist.txt
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-07-28 16:49:20 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-07-28 16:49:20 +0000
commit4c9058b8cc74e946e32857e2b046cb6407bb3cfd (patch)
tree89730d1635d8c8be50c8e203dcb8650b51d368ee /lib/cfi/cfi_blocklist.txt
parentc084f4435ed3840aaf4c298562fcaf37f25a4467 (diff)
parent3e0481a510f4968b27fdfe96bf42696aa2673325 (diff)
downloadcompiler-rt-4c9058b8cc74e946e32857e2b046cb6407bb3cfd.tar.gz
Merge "Rename CFI blocklist file." am: e6b2b9154e am: b42924c359 am: 151f40c86e am: 3e0481a510
Original change: https://android-review.googlesource.com/c/platform/external/compiler-rt/+/1373396 Change-Id: Ib7acd72ddb459253883805fd40bcc956dd436fc4
Diffstat (limited to 'lib/cfi/cfi_blocklist.txt')
-rw-r--r--lib/cfi/cfi_blocklist.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/lib/cfi/cfi_blocklist.txt b/lib/cfi/cfi_blocklist.txt
new file mode 100644
index 000000000..644b07866
--- /dev/null
+++ b/lib/cfi/cfi_blocklist.txt
@@ -0,0 +1,29 @@
+# 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
+
+# b/119127110
+fun:*internal_default_instance*