|
| 1 | +# Suppress UBSan errors in external code by source file path |
| 2 | +# This matches any source file under the external/ directory |
| 3 | + |
| 4 | + |
| 5 | +undefined:external/* |
| 6 | +null:external/* |
| 7 | +nullability-assign:external/* |
| 8 | +pointer-overflow:external/* |
| 9 | +pointer-overflow:external/* |
| 10 | +pointer-overflow:external/* |
| 11 | +pointer-overflow:external/* |
| 12 | +alignment:external/* |
| 13 | +alignment:external/* |
| 14 | +object-size:external/* |
| 15 | +signed-integer-overflow:external/* |
| 16 | +unsigned-integer-overflow:external/* |
| 17 | +integer-divide-by-zero:external/* |
| 18 | +float-divide-by-zero:external/* |
| 19 | +invalid-builtin-use:external/* |
| 20 | +invalid-objc-cast:external/* |
| 21 | +implicit-unsigned-integer-truncation:external/* |
| 22 | +implicit-signed-integer-truncation:external/* |
| 23 | +implicit-integer-sign-change:external/* |
| 24 | +implicit-signed-integer-truncation,implicit-integer-sign-change:external/* |
| 25 | +shift-base:external/* |
| 26 | +shift-exponent:external/* |
| 27 | +bounds:external/* |
| 28 | +unreachable:external/* |
| 29 | +return:external/* |
| 30 | +vla-bound:external/* |
| 31 | +float-cast-overflow:external/* |
| 32 | +bool:external/* |
| 33 | +enum:external/* |
| 34 | +function:external/* |
| 35 | +returns-nonnull-attribute:external/* |
| 36 | +nullability-return:external/* |
| 37 | +nonnull-attribute:external/* |
| 38 | +nullability-arg:external/* |
| 39 | +vptr:external/* |
| 40 | +cfi:external/* |
| 41 | +vptr_check:external/* |
| 42 | + |
| 43 | +# Suppress all UBSan errors in Boost libraries |
| 44 | +# This matches any files containing "boost" in its path or name |
| 45 | +# src:*/boost/* |
| 46 | +undefined:*/boost/* |
| 47 | +null:*/boost/* |
| 48 | +nullability-assign:*/boost/* |
| 49 | +pointer-overflow:*/boost/* |
| 50 | +pointer-overflow:*/boost/* |
| 51 | +pointer-overflow:*/boost/* |
| 52 | +pointer-overflow:*/boost/* |
| 53 | +alignment:*/boost/* |
| 54 | +alignment:*/boost/* |
| 55 | +object-size:*/boost/* |
| 56 | +signed-integer-overflow:*/boost/* |
| 57 | +unsigned-integer-overflow:*/boost/* |
| 58 | +integer-divide-by-zero:*/boost/* |
| 59 | +float-divide-by-zero:*/boost/* |
| 60 | +invalid-builtin-use:*/boost/* |
| 61 | +invalid-objc-cast:*/boost/* |
| 62 | +implicit-unsigned-integer-truncation:*/boost/* |
| 63 | +implicit-signed-integer-truncation:*/boost/* |
| 64 | +implicit-integer-sign-change:*/boost/* |
| 65 | +implicit-signed-integer-truncation,implicit-integer-sign-change:*/boost/* |
| 66 | +shift-base:*/boost/* |
| 67 | +shift-exponent:*/boost/* |
| 68 | +bounds:*/boost/* |
| 69 | +unreachable:*/boost/* |
| 70 | +return:*/boost/* |
| 71 | +vla-bound:*/boost/* |
| 72 | +float-cast-overflow:*/boost/* |
| 73 | +bool:*/boost/* |
| 74 | +enum:*/boost/* |
| 75 | +function:*/boost/* |
| 76 | +returns-nonnull-attribute:*/boost/* |
| 77 | +nullability-return:*/boost/* |
| 78 | +nonnull-attribute:*/boost/* |
| 79 | +nullability-arg:*/boost/* |
| 80 | +vptr:*/boost/* |
| 81 | +cfi:*/boost/* |
| 82 | +vptr_check:*/boost/* |
0 commit comments