aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-03-14 07:39:45 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-03-14 07:39:45 -0700
commitdd9b597bd7ba13b135bf0e5ae292a9ad38d7d856 (patch)
tree3e72b789d46163da1ebde7abb2fa494211d26a45 /tools
parent6517333d17e9c16e9f637320dc938b84dd248cc8 (diff)
UBSAN cleanup
Diffstat (limited to 'tools')
-rw-r--r--tools/run_tests/generated/configs.json2
-rw-r--r--tools/ubsan_suppressions.txt7
2 files changed, 8 insertions, 1 deletions
diff --git a/tools/run_tests/generated/configs.json b/tools/run_tests/generated/configs.json
index 9173bd7c19..69e0f44774 100644
--- a/tools/run_tests/generated/configs.json
+++ b/tools/run_tests/generated/configs.json
@@ -58,7 +58,7 @@
{
"config": "ubsan",
"environ": {
- "UBSAN_OPTIONS": "halt_on_error=1:print_stacktrace=1"
+ "UBSAN_OPTIONS": "halt_on_error=1:print_stacktrace=1:suppressions=tools/ubsan_suppressions.txt"
}
},
{
diff --git a/tools/ubsan_suppressions.txt b/tools/ubsan_suppressions.txt
new file mode 100644
index 0000000000..9869f98a22
--- /dev/null
+++ b/tools/ubsan_suppressions.txt
@@ -0,0 +1,7 @@
+# boringssl stuff
+nonnull-attribute:bn_wexpand
+nonnull-attribute:CBB_add_bytes
+nonnull-attribute:rsa_blinding_get
+nonnull-attribute:ssl_copy_key_material
+alignment:CRYPTO_cbc128_encrypt
+