Re: Rust kernel policy

Martin Uecker
2025-03-01T13:55:42Z

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