Re: [PATCH] ARM: ubsan: select ARCH_HAS_UBSAN_SANITIZE_ALL
From: Linus Walleij
Date: Tue Oct 04 2022 - 04:51:57 EST
On Wed, Sep 28, 2022 at 7:47 PM Florian Fainelli <f.fainelli@xxxxxxxxx> wrote:
> From: Seung-Woo Kim <sw0312.kim@xxxxxxxxxxx>
>
> To enable UBSAN on ARM, this patch enables ARCH_HAS_UBSAN_SANITIZE_ALL
> from arm confiuration. Basic kernel bootup test is passed on arm with
> CONFIG_UBSAN_SANITIZE_ALL enabled.
>
> Signed-off-by: Seung-Woo Kim <sw0312.kim@xxxxxxxxxxx>
> [florian: rebased against v6.0-rc7]
> Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
Pretty cool that it "just works", I was thinking to myself that I
should try this one
day. Sorry I was late to look at the patch.
Have you also looked at KCSAN?
Yours,
Linus Walleij