summaryrefslogtreecommitdiffstats
path: root/build/sanitizers/ubsan_function_blacklist.txt
diff options
context:
space:
mode:
Diffstat (limited to 'build/sanitizers/ubsan_function_blacklist.txt')
-rw-r--r--build/sanitizers/ubsan_function_blacklist.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/build/sanitizers/ubsan_function_blacklist.txt b/build/sanitizers/ubsan_function_blacklist.txt
new file mode 100644
index 0000000000..58c8f33be4
--- /dev/null
+++ b/build/sanitizers/ubsan_function_blacklist.txt
@@ -0,0 +1,9 @@
+[function]
+# Disable function sanitizer for all C files (new feature in clang 17) until we
+# we can narrow this down. See bug 1841935.
+src:*.c
+
+# RLBox allows automatic handling of differing machine models between the appplication and sandbox.
+# To do this, RLBox carefully changes the types of function pointers to the sandbox with ones suitable for the applicaton.
+# Unfortunately, this triggers the ubsan's check for calling functions with incorrect types. So disabling this.
+fun:*impl_invoke_with_func_ptr*