Re: [PATCH v2 2/6] ubsan: Reintroduce signed and unsigned overflow sanitizers

From: Miguel Ojeda
Date: Fri Feb 02 2024 - 11:12:12 EST


On Fri, Feb 2, 2024 at 1:17 PM Kees Cook <keescook@xxxxxxxxxxxx> wrote:
>
> Perhaps I should hold off on bringing the unsigned sanitizer back? I was
> hoping to work in parallel with the signed sanitizer, but maybe this
> isn't the right approach?

If you can do anything to keep it in-tree, I think it would be nice so
that others can easily use it to test the tooling and to start to
clean up cases. A per-subsystem opt-in like Marco says could be a way,
and you could perhaps do one very small subsystem or similar to see
how it would look like.

Something that could also help would be to split the cases even
further (say, only overflows and not underflows), but is that a
possibility with the current tooling?

Thanks for working on this, Kees!

Cheers,
Miguel