[DTrace-devel] [PATCH v3 05/21] compiler: add static assertions

Nick Alcock nick.alcock at oracle.com
Tue Feb 20 20:31:45 UTC 2024


On 15 Feb 2024, Kris Van Hees outgrape:

> I am reconsidering this because as it turns out, there is exactly 1 use of this
> in the entire DTrace codebase.

... so far. Of course -- it's new, how many uses can there be?!

>                                 Even the >8k lines of patches in this patch
> series only introduces that single instance of a static assertion.  Maybe this
> should just wait until a time where someone might perhaps go through the code
> base and introduce static assertions where possible (if there are enough of
> them to even bother)?

Well... I plan to use more in future, and this one has fired twice
for me already in development and fixed potential buffer overruns each
time.



More information about the DTrace-devel mailing list