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

Aaron Ballman via libc-commits libc-commits at lists.llvm.org
Thu Mar 7 11:41:47 PST 2024


AaronBallman 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).

100% agreed, thank you for hopping on the call with me, that was super productive (and it's always fun to get to chat, too!).

> 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.

Agreed -- I think the current approach in this patch is good progress and we can hammer out incremental improvements in the future. Thank you!

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


More information about the libc-commits mailing list