JustinStitt wrote:

> My intuition is that @kees approach could be more efficient to get things 
> done :) Maintaining a list of types can be annoying.

We discussed this at [Linux Plumbers '24](https://lpc.events/) and also on 
[lkml](https://lore.kernel.org/all/202404291502.612E0A10@keescook/) where an 
eventual [lwn.net article](https://lwn.net/Articles/979747/) was published 
summarizing the discussion.

I recommend reading that article for the most succinct overview of Linus' 
thoughts on the matter. From our talk at Plumbers, other maintainers agree with 
Linus: we should limit sanitizer instrumentation across _all_ types and simply 
whitelist a few.

Thankfully, this PR and my other PR (WIP) leave the door open. You can ignore 
all types and then mark a few as `no_wraps` or you can sanitize all types (the 
default) and mark a few as `wraps`.

https://github.com/llvm/llvm-project/pull/107332
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to