Re: Rust kernel policy
From: Martin Uecker
Date: Sat Mar 01 2025 - 08:55:53 EST
Am Samstag, dem 01.03.2025 um 16:22 +0300 schrieb Askar Safin:
> Hi, Martin Uecker and Dan Carpenter.
>
> > No, this absolutely is useful. This is what UBSan does now
>
> > BTW: Another option I am investigating it to have UBsan insert traps
> > into the code and then have the compiler emit a warning only when
>
> Clang sanitizers should not be enabled in production.
> See https://www.openwall.com/lists/oss-security/2016/02/17/9 for details
"There is a minimal UBSan runtime available suitable for use in production
environments."
https://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html
But I recommend to also read the rest of my email above,
because this is not relevant to what I wrote.
Martin