summaryrefslogtreecommitdiffstats
path: root/build/sanitizers/ubsan_function_blacklist.txt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /build/sanitizers/ubsan_function_blacklist.txt
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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*