diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2021-01-09 16:04:01 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2021-01-09 16:35:27 +0100 |
| commit | 2c1f2513486f21d26b1942ce77ffc782677fbf4e (patch) | |
| tree | 05cfca638371661763b85143f9051ac510e78795 /dashboard/config/linux/bits | |
| parent | 566323d4ca27d81f86143b23fa989e9283658b04 (diff) | |
dashboard/config/linux: disable most UBSAN configs
Some UBSAN configs got enabled unintentionally just after olddefconfig.
Disable most of them as they produce lots of crashes.
Keep UBSAN_SHIFT, though, as people seem to fix these reports.
Also change smack instance to clang as that's what we actually use
for the instance. That caused some unwanted diffs in UBSAN configs
as well, as UBSAN checks depend on the target compiler.
Diffstat (limited to 'dashboard/config/linux/bits')
| -rw-r--r-- | dashboard/config/linux/bits/kasan.yml | 23 |
1 files changed, 20 insertions, 3 deletions
diff --git a/dashboard/config/linux/bits/kasan.yml b/dashboard/config/linux/bits/kasan.yml index de188d860..9f911e95a 100644 --- a/dashboard/config/linux/bits/kasan.yml +++ b/dashboard/config/linux/bits/kasan.yml @@ -13,8 +13,25 @@ config: - SPARSEMEM_MANUAL: [-arm, -s390] - UBSAN: [v5.8] - - UBSAN_BOUNDS: [v5.8] - UBSAN_SANITIZE_ALL: [v5.8, -arm, -riscv] - - UBSAN_TRAP: [n, v5.8] - - UBSAN_MISC: [n, v5.8] + - UBSAN_TRAP: n + - UBSAN_MISC: n + - UBSAN_BOUNDS: [v5.8] + - UBSAN_SHIFT: [v5.11] + # Already detected well by the exception handler. + - UBSAN_DIV_ZERO: n + # Produces too many reports: + # https://groups.google.com/forum/#!msg/syzkaller-bugs/i0xhp3rFSmo/KwZ0r9IIBQAJ + - UBSAN_BOOL: n + # Produces too many reports: + # https://groups.google.com/g/syzkaller-bugs/c/b_y3xw0wvOI/m/L074F0v3BQAJ + - UBSAN_OBJECT_SIZE: n + # This does not produce any reports, which suggests that it does not work somehow. + - UBSAN_SIGNED_OVERFLOW: n + - UBSAN_UNSIGNED_OVERFLOW: n + # This does not produce any reports, which suggests that it does not work somehow. + - UBSAN_ENUM: n + # Presumably can produce lots of working-as-intended reports, but this wasn't checked. - UBSAN_ALIGNMENT: [n, v5.8] + # Depends on STACK_VALIDATION=n which we have enabled. + - UBSAN_UNREACHABLE: n |
