[libc-commits] [libc] [libc][c23] add memset_explicit (PR #83577)

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Thu Mar 7 11:26:36 PST 2024


nickdesaulniers wrote:

@AaronBallman and I hopped on a call and had a fruitful discussion.  Despite having slight disagreements on various aspects, we are *still* friends (lest external followers of the discussion think there's larger disagreements here).

I think ultimately we will be able to provide feedback to WG14 that may one day result in modifications to the standard with regard to the language around this function in particular.  But even if nothing comes of that or that feedback never gets written, I think we can provide additional QoL improvements, whether that be specific mitigations for well known attack vectors, or a "harden llvmlibc mode."  I would like to have separate space to discuss and review those mitigations than in this initial PR as the current iteration does appear to me to satisfy the original intent of the proposal without significant added complexity.

https://github.com/llvm/llvm-project/pull/83577


More information about the libc-commits mailing list